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

Michael Klink edited comment on PDFBOX-3017 at 11/2/15 1:10 PM:
----------------------------------------------------------------

{quote}
{{prepareNonVisualSignature}} clears the AcroForm *DR* 
({{acroForm.setDefaultResources(null)}}) which is not good if there are other 
form fields
{quote}

The pendant for this issue in the context of visual signatures has been 
observed in real life, cf. the stackoverflow posting [PDFBox 1.8.10: Fill and 
Sign Document, Filling again fails|http://stackoverflow.com/a/33174411/1729265].


was (Author: mkl):
{quote}
{{prepareNonVisualSignature}} clears the AcroForm *DR* 
({{acroForm.setDefaultResources(null)}}) which is not good if there are other 
form fields
{quote}

This issue has been observed in real life, cf. the stackoverflow posting 
[PDFBox 1.8.10: Fill and Sign Document, Filling again 
fails|http://stackoverflow.com/a/33174411/1729265].

> Improve document signing
> ------------------------
>
>                 Key: PDFBOX-3017
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3017
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Signing
>    Affects Versions: 2.0.0
>            Reporter: Tilman Hausherr
>
> Improve signing code:
> - incremental save only works for signatures and doesn't respect certificates 
> such as Adobe Extended Usage Rights
> - {{prepareNonVisualSignature}} clears the AcroForm DR 
> {{acroForm.setDefaultResources(null)}} which is not good if there are other 
> form fields
> - visual/nonVisualSignature should move into the {{interactive.forms}} 
> package and be handled within the signature field
> - verify signature (to have tests that go full circle)
> - document or refactor / rewrite visible labyrinthine signature code
> - ... your ideas...



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

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

Reply via email to