How to get additional information from a signed pdf file #185
-
I have pdf signed on https://autenti.com/ (enclosed) I'm looking for idea how to get info who signed. How to get this using pyHanko? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @areqq, There's an
|
Beta Was this translation helpful? Give feedback.
Hi @areqq,
There's an
embedded_signatures
property onPdfFileReader
that allows you to loop over the signatures in the document. The API forEmbeddedPdfSignature
is available in the documentation. Not all of the properties you mention are exposed directly, but you can get access to the signature dictionary itself via thesig_object
field. In other words, to get the Reason field, you'd write something like