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

Tilman Hausherr commented on PDFBOX-4609:
-----------------------------------------

Looking at the PDF with Adobe Reader, there are 3 reasons:
- signature date is missing
- something is wrong with the certificate (not sure about that one, maybe this 
is related to the first - please resubmit a signed PDF with a signature date, 
then I can do more checks)
- document was modified, i.e. signature doesn't verify. I also get that with 
ShowSignature: "message-digest attribute value does not match calculated value".
To verify that, one would need to see 1) whether you are signing the correct 
sequence, i.e. what are you signing, what is fed to the sign() code? 2) what is 
your signing code?

> 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: as_Signed.pdf, 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