DigitalSignature

DigitalSignature(X509Certificate2, string, DateTime)

Constructor of digitalSignature. Uses .Net implementation.

public DigitalSignature(X509Certificate2 certificate, string comments, DateTime signTime)
Parameter Type Description
certificate X509Certificate2 Certificate object that was used to sign the document.
comments String The purpose to signature.
signTime DateTime The utc time when the document was signed.

See Also


DigitalSignature(byte[], string, string, DateTime)

Constructor of digitalSignature. Uses Bouncy Castle implementation.

public DigitalSignature(byte[] rawData, string password, string comments, DateTime signTime)
Parameter Type Description
rawData Byte[] A byte array containing data from an X.509 certificate.
password String The password required to access the X.509 certificate data.
comments String The purpose to signature.
signTime DateTime The utc time when the document was signed.

See Also