__init__ constructor

On this page

init

Initializes a digital signature with default parameters.

def __init__(self):
    ...

init

Initializes a digital signature with a known signature identifier.

def __init__(self, signature_id):
    ...
Parameter Type Description
signature_id str

init

Initializes a DigitalSignature using the first certificate from the specified X509 store.

def __init__(self, store):
    ...
Parameter Type Description
store System.Security.Cryptography.X509Certificates.X509Store X509 store.

init

Initializes a DigitalSignature based on the specified X509 store and certificate index.

def __init__(self, store, index):
    ...
Parameter Type Description
store System.Security.Cryptography.X509Certificates.X509Store X509 store.
index int Index of the certificate.

init

Initializes a digital signature with the specified certificate.

def __init__(self, certificate):
    ...
Parameter Type Description
certificate System.Security.Cryptography.X509Certificates.X509Certificate2 X509 certificate.

See Also

On this page