pdftools_sdk.crypto.providers.global_sign_dss.signature_configuration
Classes
|
The signature configuration |
- class pdftools_sdk.crypto.providers.global_sign_dss.signature_configuration.SignatureConfiguration(handle)[source]
Bases:
SignatureConfiguration
The signature configuration
- property hash_algorithm: HashAlgorithm
The message digest algorithm
The algorithm used to hash the document and from which the cryptographic signature is created.
Value:
pdftools_sdk.crypto.hash_algorithm.HashAlgorithm.SHA256
.- Returns:
pdftools_sdk.crypto.hash_algorithm.HashAlgorithm
- property signature_padding_type: SignaturePaddingType
The padding type of the cryptographic signature
Value:
pdftools_sdk.crypto.signature_padding_type.SignaturePaddingType.RSARSA
- Returns:
pdftools_sdk.crypto.signature_padding_type.SignaturePaddingType
- property signature_format: SignatureFormat
The format (encoding) of the cryptographic signature
Default is
pdftools_sdk.crypto.signature_format.SignatureFormat.ETSICADESDETACHED
- Returns:
pdftools_sdk.crypto.signature_format.SignatureFormat
- property add_timestamp: bool
Whether to add a trusted time-stamp to the signature
Default is False
- Returns:
bool
- property validation_information: ValidationInformation
Whether to add validation information (LTV)
Note: This has no effect for signing certificates that do not offer revocation information.
Default is
pdftools_sdk.crypto.validation_information.ValidationInformation.EMBEDINDOCUMENT
- Returns:
pdftools_sdk.crypto.validation_information.ValidationInformation