DigitalSignature constructor

init

Creates a new DigitalSignature object with the specified certificate.

def __init__(self, certificate):
    ...
ParameterTypeDescription
certificateSystem.Security.Cryptography.X509Certificates.X509Certificate2Certificate that will be used to sign the presentation.

init

Creates a new DigitalSignature object with the specified certificate file path and password.

def __init__(self, file_path, password):
    ...
ParameterTypeDescription
file_pathstrPath to the file with certificate.
passwordstrPassword required to access certificate.

See Also