Click or drag to resize
Pdf Library for .NET

TimeStampAuthority Class

Describes a time-stamp authority (TSA) server used to timestamp a digital signature. Pass an instance to Sign(String, String, String, String, String, String, Int32, RectangleF, TimeStampAuthority).
Inheritance Hierarchy
SystemObject
  SelectPdf.UniversalTimeStampAuthority

Namespace: SelectPdf.Universal
Assembly: SelectPdf.Universal (in SelectPdf.Universal.dll) Version: 26.4
Syntax
public class TimeStampAuthority

The TimeStampAuthority type exposes the following members.

Constructors
 NameDescription
Public methodTimeStampAuthorityInitializes a new instance targeting the given TSA server URL.
Top
Properties
 NameDescription
Public propertyPasswordGets or sets the TSA password (when the server requires authentication).
Public propertyServerGets or sets the TSA server URL.
Public propertyTimeOut Gets or sets the TSA connection timeout, in SECONDS. Zero, the default, leaves the underlying request's own timeout in place.
Public propertyUserNameGets or sets the TSA user name (when the server requires authentication).
Top
Example
PdfSecurityManager manager = new PdfSecurityManager();
manager.Load("document.pdf");
TimeStampAuthority tsa =
    new TimeStampAuthority(new System.Uri("http://timestamp.example.com"));
manager.Sign("certificate.pfx", "pfxPassword", "Signature1", "Approved",
    "Head office", "", 0,
    new SelectPdf.Universal.Drawing.RectangleF(40, 40, 200, 60), tsa);
manager.Save("signed.pdf");
See Also