pdftools_toolbox.pdf.forms.doc_mdp_signature

Classes

DocMdpSignature(handle)

A Document Modification Detection and Prevention (MDP) signature that certifies the document

class pdftools_toolbox.pdf.forms.doc_mdp_signature.DocMdpSignature(handle)[source]

Bases: Signature

A Document Modification Detection and Prevention (MDP) signature that certifies the document

This type of signature enables the detection of disallowed changes specified by the author.

property permissions: MdpPermissions

The access permissions granted for this document

Note that for encrypted PDF documents, the restrictions defined by this DocMDPSignature are in addition to the document pdftools_toolbox.pdf.document.Document.permissions .

Returns:

pdftools_toolbox.pdf.forms.mdp_permissions.MdpPermissions

Raises:

StateError – if the object has already been closed