DigitalSignature

DigitalSignature class

Digital signature in signed file.

public class DigitalSignature : IDigitalSignature

Constructors

Name Description
DigitalSignature(X509Certificate2) Creates a new DigitalSignature object with the specified certificate.
DigitalSignature(string, string) Creates a new DigitalSignature object with the specified certificate file path and password.

Properties

Name Description
Certificate { get; } Certificate object that was used to sign the document. Read-only X509Certificate2.
Comments { get; set; } The purpose of signature. Read/write String.
IsValid { get; } If this digital signature is valid and the document has not been tampered with, this value will be true. Read-only Boolean.
SignTime { get; } The time when the document was signed. Read-only DateTime.

See Also