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

Tilman Hausherr commented on PDFBOX-3699:
-----------------------------------------

I've added a check for certification in the example code. I'm not yet sure if 
this should be part of PDDocument, so this may or may not be moved as part of 
2.0.6. Suggestions welcome.

I've not made progress re the actual problem you reported, i.e. that Adobe 
claims modification was done. I'll work on this at a later time, but not in 
time for 2.0.5 - sorry about that.

> Regression on signature with certification flag.
> ------------------------------------------------
>
>                 Key: PDFBOX-3699
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3699
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Signing
>    Affects Versions: 2.0.2, 2.0.3, 2.0.4
>            Reporter: Marco Monacelli
>            Priority: Blocker
>         Attachments: original_file.pdf, 
> signed_2.0.0_ok_previus_signature_but_invisible.pdf, 
> signed_2.0.4_previus_signature_ko_but_signature_visible.pdf, 
> TEST_PDFBOX_signed_module_acrobat_final_signature.pdf, 
> TEST_PDFBOX_signed_module_acrobat.pdf, x_1a_certified_pdfbox_vis_itext.pdf
>
>
> Hello,
> I got some problems signing a certified pdf with a signature with apparence: 
> after the signature is applied the previous certification is reported as 
> corrupted by Acrobat Reader. If I apply an invisible signature the issue 
> doesn't happen.
> I have done a regression analysis using the same code
> - with pdfbox 2.0.0 and 2.0.1, the signature is not shown on the document but 
> the certification is still valid
> - with earlier versions, the signature is shown on the document but the 
> certification is broken
> The sample certified pdf (original_file.pdf) is in attachment.
> Finally this problem could be related to these tickets:
> 1- https://issues.apache.org/jira/browse/PDFBOX-2816 (PDFBox makes disallowed 
> changes when signing a signed document)
> 2- https://issues.apache.org/jira/browse/PDFBOX-45 (Support incremental save)
> I tested my code with the test case file in 1 (acrosigned.pdf), and it works 
> well.



--
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