Uploaded image for project: 'PDFBox'
  1. PDFBox
  2. PDFBOX-4499

PDDocument.getSignatureFields() does not return all existing signature fields

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Bug
    • 2.0.14
    • None
    • AcroForm, Signing
    • None

    Description

      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.

      PDDocument document = PDDocument.load(getDocumentData("Form_example.pdf"));
      assertNotEmpty(document.getSignatureFields());

      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

      Attachments

        1. Form_example.pdf
          107 kB
          Noé Beuret

        Activity

          People

            Unassigned Unassigned
            nbeuret Noé Beuret
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: