-
Hi, is there any way to enable timestamping and LTV using HexaPDF? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 21 replies
-
No, this is not possible at the moment. However, this is on my TODO list and I'm currently looking into adding support for both. |
Beta Was this translation helpful? Give feedback.
-
It is now possible to create PAdES level B-B and B-T)signatures and the latter contain timestamps from a trusted timestamping server. Old-style CMS signatures with a timestamp are also possible. Those signatures appear as "LTV enabled" in certain viewers but are not LTV. So this answers part of your question. |
Beta Was this translation helpful? Give feedback.
-
Hey @gettalong thanks for this update. The support for PAdES is working great for me. I was looking into adding the DSS information required to have LTV and I noticed that it's added as a sibling Dictionary next to AcroForm, Metadata and Pages as the images show: To achieve this, I used the "Add Verification Info" option inside Acrobat Reader on the signed PDF and the result was a modified file that has LTV. To get the CRL and OCSP responses I tried this approach and it worked with my certs (which have CRL and OCSP endpoints). I was able to get a valid response, which can be later added to the PDF. I think this code could be added to hexapdf as a standalone validation class. This validation can be done after the signature process and then the result can be added to the right dictionary, constructing the data similarly to the Can you point me in the right direction in order to add the DSS data to the PDF catalog? Thanks! |
Beta Was this translation helpful? Give feedback.
-
hi maxfindel It seems that following link is not available now. Could you please share the source patch again? thanks a lot.
|
Beta Was this translation helpful? Give feedback.
It is now possible to create PAdES level B-B and B-T)signatures and the latter contain timestamps from a trusted timestamping server. Old-style CMS signatures with a timestamp are also possible.
Those signatures appear as "LTV enabled" in certain viewers but are not LTV.
So this answers part of your question.