Signature dictionary entries support #307
eduperottoni
started this conversation in
General
Replies: 1 comment 1 reply
-
Almost all of these are supported, actually (see e.g. #195 for the PR that adds The ones that aren't supported (e.g. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey, @MatthiasValvekens!
According to ISO3200-2 (2020), there are many entries in the PDF's signature dictionary (table 255), e.g.
/R
,/M
,/Name
,/Reason
,/Location
,/Prop_Build
,/Prop_AuthTime
,/Prop_AuthType
,/ByteRange
and others. On the other hand, in pyHanko's API, we only have some of them exposed in theSignatureObject
, being them:timestamp, subfilter, name, location, reason, app_build_props and bytes_reserved
.I know it's easy to inherit this class and create new entries to be part of my signature dictionary (and I did for
/Prop_AuthTime
and/ContactInfo
entries, for example). However, is there any reason to pyHanko's lack of support to this entries?Thank you!
Beta Was this translation helpful? Give feedback.
All reactions