TimeServer Example |
Using Programming Languages other than VBA
Sub Example_TimeServer() ' This example attaches a digital signature and accompanying data to a file, ' and saves the file. Dim acad As New AcadApplication Dim sp As New AcadSecurityParams acad.Visible = True ' Attach a digital signature and timestamp it sp.Action = AcadSecurityParamsType.ACADSECURITYPARAMS_SIGN_DATA _ + AcadSecurityParamsType.ACADSECURITYPARAMS_ADD_TIMESTAMP ' Certificate details follow sp.Subject = "Thawte Freemail Member" sp.Issuer = "Personal Freemail RSA 2000.8.30" sp.SerialNumber = "073848" sp.Comment = "This is now signed" sp.TimeServer = "NIST(time.nist.gov)" ' To set the TimeServer property, use a description followed by the Internet address in parentheses acad.ActiveDocument.SaveAs "C:\MyDrawing.dwg", , sp End Sub
Comments? |
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@entercad.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.