DigitalSignature constructor

Contents
[ ]

init

Constructor of digitalSignature. Uses .Net implementation.

def __init__(self, certificate, comments, sign_time):
    ...
ParameterTypeDescription
certificateSystem.Security.Cryptography.X509Certificates.X509Certificate2Certificate object that was used to sign the document.
commentsstrThe purpose to signature.
sign_timeDateTimeThe utc time when the document was signed.

init

Constructor of digitalSignature. Uses Bouncy Castle implementation.

def __init__(self, raw_data, password, comments, sign_time):
    ...
ParameterTypeDescription
raw_databytesA byte array containing data from an X.509 certificate.
passwordstrThe password required to access the X.509 certificate data.
commentsstrThe purpose to signature.
sign_timeDateTimeThe utc time when the document was signed.

See Also