DigitalSignature class

Signature in file.

public class DigitalSignature


Name Description
DigitalSignature(X509Certificate2, string, DateTime) Constructor of digitalSignature. Uses .Net implementation.
DigitalSignature(byte[], string, string, DateTime) Constructor of digitalSignature. Uses Bouncy Castle implementation.


Name Description
Certificate { get; set; } Certificate object that was used to sign the document.
Comments { get; set; } The purpose to signature.
Id { get; set; } Specifies a GUID which can be cross-referenced with the GUID of the signature line stored in the document content. Default value is Empty (all zeroes) Guid.
Image { get; set; } Specifies an image for the digital signature. Default value is null.
IsValid { get; } If this digital signature is valid and the document has not been tampered with, this value will be true.
ProviderId { get; set; } Specifies the class ID of the signature provider. Default value is Empty (all zeroes) Guid.
SignTime { get; set; } The time when the document was signed.
Text { get; set; } Specifies the text of actual signature in the digital signature. Default value is Empty.
XAdESType { get; set; } XAdES type. Default value is None(XAdES is off).

See Also