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

Tilman Hausherr commented on PDFBOX-3817:
-----------------------------------------

in PDFBOX-3668 [~tom_1st] sent me the file and explained that signing brought 
"WARNING: The stream doesn't provide any stream length, using fallback 
readUntilEnd, at offset 1508". The cause turned out to be that empty COSStreams 
(like for n0) didn't have a length. The last commit fixes that.

> Signature form names not standard
> ---------------------------------
>
>                 Key: PDFBOX-3817
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3817
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Signing
>    Affects Versions: 2.0.6
>            Reporter: Tilman Hausherr
>            Assignee: Tilman Hausherr
>             Fix For: 2.0.7, 3.0.0
>
>         Attachments: helloworld_signed.pdf
>
>
> We are not using the correct form names in our signature classes. The n2 
> layer is named "n1" in 2.0 and "n0" in 1.8. The n0 layer should be empty. The 
> holding form must be named "FRM" and not "FRM1" or "FRM0", see
> https://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/PPKAppearances.pdf



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to