Hi, > I would like to port your code to the pdfbox examples. So it will be an > official example for other pdfbox users. Did something from your side speak > against it?
My pleasure! >>> Only one problem left: >>> - My document is signed, but not certificated. How can I set the >>> certification level? (Equivalent to >>> >>> appearance.setCertificationLevel(PdfSignatureAppearance.CERTIFIED_NO_CHANGES_ALLOWED); >>> in iText) > > > I don't figure this out at the moment. Maybe this setting need to be done in > the appearance dictionary. > > Did you maybe have an example document created with iText that containing > such a property? > Example document with iText: https://dl.dropboxusercontent.com/u/7683931/jtechlog/jtechlog_signed_itext.pdf With PDFBox: https://dl.dropboxusercontent.com/u/7683931/jtechlog/jtechlog_signed_pdfbox.pdf See the difference in the header of the Acrobat Reader: https://dl.dropboxusercontent.com/u/7683931/jtechlog/jtechlog-signed-difference.png The source is here with iText: https://github.com/vicziani/jtechlog-signpdf/blob/master/jtechlog-signpdf-itext/src/main/java/jtechlog/signpdf/PdfSigner.java Thank you! Istvan

