You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Noé Beuret (JIRA)" <ji...@apache.org> on 2019/03/28 14:23:00 UTC

[jira] [Created] (PDFBOX-4499) PDDocument.getSignatureFields() does not return all existing signature fields

Noé Beuret created PDFBOX-4499:
----------------------------------

             Summary: PDDocument.getSignatureFields() does not return all existing signature fields
                 Key: PDFBOX-4499
                 URL: https://issues.apache.org/jira/browse/PDFBOX-4499
             Project: PDFBox
          Issue Type: Bug
          Components: AcroForm, Signing
    Affects Versions: 2.0.14
            Reporter: Noé Beuret
         Attachments: Form_example.pdf

Hello, 

I'm having an issue with a PDF while trying to retrieve an existing signature field in the document.

I'm using the method {{PDDocument.getSignatureFields()}} which return {{PDSignatureField}} objects on some PDF, but nothing on others which I'm sure they have signature fields.
{noformat}
PDDocument document = PDDocument.load(getDocumentData("Form_example.pdf"));
assertNotEmpty(document.getSignatureFields());{noformat}
One of those PDF is attached to the ticket. The signature field contained in the document can be signed on Adobe Reader and in a other close sourced commercial library. But on PDFBox, the signature field does not exist. 

Is it an issue or a known limitation of the library or I did I miss something ?

 

Thanks



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org