pdftools_sdk.crypto.providers.built_in.timestamp_configuration

Classes

TimestampConfiguration(handle)

The time-stamp configuration

class pdftools_sdk.crypto.providers.built_in.timestamp_configuration.TimestampConfiguration(handle)[source]

Bases: TimestampConfiguration

The time-stamp configuration

property hash_algorithm: HashAlgorithm

The message digest algorithm

The algorithm used to hash the document and from which the time-stamp signature is created.

Note: This algorithm must be supported by the time-stamp server; many support only SHA-256.

Default is pdftools_sdk.crypto.hash_algorithm.HashAlgorithm.SHA256

Returns:

pdftools_sdk.crypto.hash_algorithm.HashAlgorithm