DigitalSignature class
DigitalSignature class
Signature in file.
The DigitalSignature type exposes the following members:
Constructors
| Constructor | Description |
|---|---|
__init__(self, certificate, comments, sign_time) | Constructor of digitalSignature. Uses .Net implementation. |
__init__(self, raw_data, password, comments, sign_time) | Constructor of digitalSignature. Uses Bouncy Castle implementation. |
Properties
| Property | Description |
|---|---|
| certificate | Certificate object that was used to sign the document. |
| comments | The purpose to signature. |
| sign_time | The time when the document was signed. |
| id | Specifies a GUID which can be cross-referenced with the GUID of the signature line stored in the document content. Default value is Empty (all zeroes) Guid. |
| text | Specifies the text of actual signature in the digital signature. Default value is Empty. |
| image | Specifies an image for the digital signature. Default value is null. |
| provider_id | Specifies the class ID of the signature provider. Default value is Empty (all zeroes) Guid. |
| is_valid | If this digital signature is valid and the document has not been tampered with, this value will be true. |
| x_ad_es_type | XAdES type. Default value is None(XAdES is off). |