pdftools_sdk.signature_validation.cms_signature_content

Classes

CmsSignatureContent(handle)

The data and validation result of the cryptographic signature

class pdftools_sdk.signature_validation.cms_signature_content.CmsSignatureContent(handle)[source]

Bases: SignatureContent

The data and validation result of the cryptographic signature

property validation_time: datetime

The time at which the signature has been validated

Returns:

datetime

property validation_time_source: TimeSource

The source for the validation time

Returns:

pdftools_sdk.signature_validation.time_source.TimeSource

property hash_algorithm: HashAlgorithm

The hash algorithm used to calculate the signature’s message digest

Returns:

pdftools_sdk.crypto.hash_algorithm.HashAlgorithm

property time_stamp: TimeStampContent | None

The data and validation result of the embedded time-stamp

Returns:

Optional[pdftools_sdk.signature_validation.time_stamp_content.TimeStampContent]

property signing_certificate: Certificate | None

The signing certificate

Returns:

Optional[pdftools_sdk.signature_validation.certificate.Certificate]

property certificate_chain: CertificateChain | None

The certificate chain of the signing certificate

Returns:

Optional[pdftools_sdk.signature_validation.certificate_chain.CertificateChain]