Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.0.0 PDFBox
-
None
Description
I tried to apply a digital signature to the attached PDF using the method PDDocument.saveIncrementalForExternalSigning in the release 3.0.0 of PDFBox but a NPE is thrown every time.
The same action executed on a 2.0.x release is successfully completed.
Here you are a snipped code to reproduce the error:
PDDocument document = Loader.loadPDF(new File("Cryptomathic_White_Paper_-_eIDAS_Compliant_Remote_eSigning.pdf")); document.addSignature(new PDSignature(), new SignatureOptions()); ExternalSigningSupport externalSigning = document.saveIncrementalForExternalSigning(new ByteArrayOutputStream());
Attachments
Attachments
Issue Links
- is duplicated by
-
PDFBOX-5759 NPE in COSWriter caused by undefined object
- Closed
- links to