DigitalSignature constructor
Contents
[
Hide
]init
Constructor of digitalSignature. Uses .Net implementation.
def __init__(self, certificate, comments, sign_time):
...
Parameter | Type | Description |
---|---|---|
certificate | System.Security.Cryptography.X509Certificates.X509Certificate2 | Certificate object that was used to sign the document. |
comments | str | The purpose to signature. |
sign_time | DateTime | The utc time when the document was signed. |
init
Constructor of digitalSignature. Uses Bouncy Castle implementation.
def __init__(self, raw_data, password, comments, sign_time):
...
Parameter | Type | Description |
---|---|---|
raw_data | bytes | A byte array containing data from an X.509 certificate. |
password | str | The password required to access the X.509 certificate data. |
comments | str | The purpose to signature. |
sign_time | DateTime | The utc time when the document was signed. |
See Also
- module
aspose.cells.digitalsignatures
- class
DigitalSignature