Support PDF digital signature
Sobot opened this issue · 4 comments
Any chance of including the support for PDF digital signature? If you think this makes sense I could contribute with a pull request
https://helpx.adobe.com/acrobat/using/signing-pdfs.html
I would prepare a pull request for this that would implement a
org.xhtmlrenderer.simple.PDFSigner
similar as
org.xhtmlrenderer.simple.PDFRenderer
That would encapsulate https://api.itextpdf.com/iText5/java/5.5.13.3/com/itextpdf/text/pdf/security/MakeSignature.html
Or would you suggest a better aproach?
@Sobot Hi. Thanks for the suggestion.
Well, may be. :)
I don't see any reasons why we should not do it. But I also don't see why it's needed.
Isn't it so that usually a "system" (like internet-bank) generates the PDF, and user should sign it?
Hi @asolntsev thank you for the reply.
I have a case where I need to generate digitally signed pdf to discourage users from editing them after downloading. And also verify that the pdf is generated by a trusted source.
Wanted to check if you think you think it would be possible do have alterative aproach by extending org.xhtmlrenderer.pdf.ITextRenderer or use it a a reference to a document to sign so I can leverage org.xhtmlrenderer.pdf.PDFCreationListener#onClose
to autosign all documents?