PdfDigitalSignature

PdfDigitalSignature class

Contains Pdf Digital signature properties.

public class PdfDigitalSignature : DigitalSignature

Constructors

Name Description
PdfDigitalSignature() Initialize Pdf Digital Signature with no certificate.
PdfDigitalSignature(X509Certificate2) Create Pdf Digital signature with specified certificate.
PdfDigitalSignature(X509Store) Initialize Pdf Digital Signature based on specified X509 store. First certificate from specified store will be used.
PdfDigitalSignature(X509Store, int) Create Pdf Digital signature based on specified X509 Store and index of certificate.

Properties

Name Description
Certificate { get; set; } Gets or sets the X509 certificate.
CertificateCustomStoreName { get; set; } Specifies the custom store name of the certificate.
CertificateStoreLocation { get; set; } Specifies the store location of the certificate
CertificateStoreName { get; set; } Specifies the store name of the certificate.
Comments { get; set; } Gets or sets the signing purpose comment.
ContactInfo { get; set; } Information provided by the signer to enable a recipient to contact the signer to verify the signature, e.g. a phone number.
CreatedOn { get; set; } Get or set the signature creation date.
Deleted { get; } Get the flag that indicates if this signature was deleted from the document. This property is being used only for document history log records to keep the list of deleted signatures.
Height { get; set; } Specifies height of signature.
IsSignature { get; set; } Get or set flag to indicate if this component is Signature or document content. This property is being used with Update method to set element as signature (true) or document element (false).
IsValid { get; set; } Keeps true if this digital signature is valid and the document has not been tampered with.
Left { get; set; } Specifies left position of signature.
Location { get; set; } The CPU host name or physical location of the signing.
ModifiedOn { get; set; } Get or set the signature modification date.
PageNumber { get; } Specifies the page signature was found on.
Reason { get; set; } The reason for the signing, such as (I agree…).
ShowProperties { get; set; } Force to show/hide signature properties. In case ShowProperties is true signature field has predefined format of appearance Digitally signed by {ContactInfo} Date: {Date} Reason: {Reason} Location: {Location} ShowProperties is true by default.
SignatureId { get; } Unique signature identifier to modify signature in the document over Update or Delete methods. This property will be set automatically after Sign or Search method being called. If this property was saved before it can be set manually to manipulate the signature.
SignatureType { get; } Specifies the type of signature.
SignTime { get; set; } Gets or sets the time the document was signed.
Thumbprint { get; } Gets the thumbprint of a certificate.
TimeStamp { get; set; } Time stamp for Pdf digital signature. Default value is null.
Top { get; set; } Specifies top position of signature.
Type { get; set; } Type of Pdf digital signature.
Width { get; set; } Specifies width of signature.
XAdESType { get; } XAdES type XAdESType. Default value is None (XAdES is off). At this moment XAdES signature type is supported only for Spreadsheet documents.

Methods

Name Description
override Clone() Clone Barcode Signature instance.
override Equals(object) Overwrites Equals method to compare signature properties
override GetHashCode() Overrides GetHashCode method

See Also