[ 
https://issues.apache.org/jira/browse/PDFBOX-2436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14247903#comment-14247903
 ] 

Andreas Lehmkühler commented on PDFBOX-2436:
--------------------------------------------

I'm afraid you have to wait until the non-sequential parser can be used for 
signing

> Parsing error
> -------------
>
>                 Key: PDFBOX-2436
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2436
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Parsing
>    Affects Versions: 1.8.7
>         Environment: Java 8
>            Reporter: Jan Vomlel
>            Priority: Critical
>         Attachments: h1.pdf
>
>
> PDDocument.load method returns without exception, but document model is 
> incomplete.
> You can try it by this code on attached file:
> {code}
> PDDocument document = PDDocument.load(new File(inFN), null);
> int size = document.getSignatureDictionaries().size();
> System.out.println("Signatures count:" +size);
> {code}
> Output is 1, but there are two signatures in PDF document.
> PDFParser.class produces IOException and ignores it on line 196. Rest of the 
> document is ignored.
> loadNoSeq method works, but I cannot use it, because I want to attach a new 
> signature.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to