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

Tilman Hausherr edited comment on PDFBOX-4609 at 8/12/19 7:01 AM:
------------------------------------------------------------------

Yes, and it shows you have passed the wrong input to sign(), you passed the 
original PDF only. The correct input would be the original PDF, the incremental 
PDF, but except the hex stuff from the signature.

Maybe you called sign() directly, instead of having it called by the 
{{COSWriter}} class when calling saveIncrmental().


was (Author: tilman):
Yes, and it shows you have passed the wrong input to sign(), you passed the 
original PDF only. The correct input would be the original PDF, the incremental 
PDF, but except the hex stuff from the signature.

> At least  one signature is invalid
> ----------------------------------
>
>                 Key: PDFBOX-4609
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4609
>             Project: PDFBox
>          Issue Type: Wish
>          Components: .NET
>    Affects Versions: 1.8.15
>            Reporter: bal
>            Priority: Major
>         Attachments: Debug.txt, keystore.p12
>
>
> I am getting signature is  invalid  error in the signature panel of pdf after 
> pkcs 7 signature insertion. I can see the name of the signer with the signed 
> by in signature panel. I am not able to find out disallowed changes pdfbox 
> does resulting into invalid pdf by acrobat reader.   Is it possible to 
> validate the pdf with pdfbox? Thanks in advance. 



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

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

Reply via email to