PDFBox - opening and saving a signed pdf invalidates my signature

前端 未结 2 1109
走了就别回头了
走了就别回头了 2020-12-18 09:01

I am trying to learn to use Apache\'s pdfBox to deal with digitaly signed documents for work. During testing, I created a completely empty pdf document.

I then signe

2条回答
  •  失恋的感觉
    2020-12-18 09:36

    From what I can gather from some of Adobe's documentation, there is a timestamp which is included as part of the signature. I would guess by saving the document (even without any content changes) would modify this timestamp value, hence invalidating the signature (which would have been created using the original timestamp).

    This isn't an authoritative, mind you - this is just what I've been able glean from a quick glance at Adobe's documentation on the matter.

提交回复
热议问题