pdftools_sdk.sign.prepared_document

Classes

PreparedDocument(handle)

A document that has been prepared for signing

class pdftools_sdk.sign.prepared_document.PreparedDocument(handle)[source]

Bases: Document

A document that has been prepared for signing

get_hash(algorithm: HashAlgorithm) List[int][source]

Calculate the hash value

Calculate the hash value to create the signature from.

Parameters:

algorithm (pdftools_sdk.crypto.hash_algorithm.HashAlgorithm) – The hash algorithm

Return type:

List[int]