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

Marco Pancioni commented on PDFBOX-5012:
----------------------------------------

Hi [~mkl]  and [~msahyoun] , 
sorry for delay in response.

We have produced a file without XFA as described in this comment (attached)
Trying to sign this file, the result is the same: Adobe does not recognize 
signature.

So i think it's not possibile to remove the dynamic part of XFA or we don't use 
the correct procedure.

Above comments indicate that type of XFA is dynamic and this is the problem 
encountered during signature with pdfbox, but testing with methods 
{{PDAcroForm.hasXFA()}} and {{PDAcroForm.xfaIsDynamic()}} report two different 
output: true in first case and false in second case.
Is correct? If yes, is there a method to determine if remove the XFA is secure 
or not respect to entire file?

 

 

> Signature Field Not Recognize
> -----------------------------
>
>                 Key: PDFBOX-5012
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5012
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Signing
>    Affects Versions: 2.0.21
>            Reporter: Marco Monacelli
>            Priority: Major
>              Labels: XFA
>         Attachments: PDF_orig_anon.pdf, PDF_orig_anon_without_XFA.pdf
>
>
> We have a document with a signature field prepared. 
> We can locate the signature field and add the signature to it, but the result 
> is still an unsigned document.
> CosWriter not identifies the field as a signature field.
> The document has been made anonymous but the result is the same as the 
> original.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to