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

PDModel.getSignatureFields() only returns top level signature fields

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0, 2.0.1, 2.0.2, 3.0.0 PDFBox
    • Fix Version/s: 2.0.2, 3.0.0 PDFBox
    • Component/s: PDModel
    • Labels:
      None

      Description

      From the users mailing list

      I'm tying to rewrite my code in order to use the PDFBox in place of the
      current library.
      First of all, thank you for the great work you are doing!

      I'm trying to manage signatures of a PDFdocuments and the method that I use
      to obtain the Signatures' list from the PDDocument is:

      public List<PDSignature> *getSignatureDictionaries *() throws IOException

      I'm in trouble with a specific signed PDF document because this method
      returns an empty signature list.

      The user correctly spotted that we only return top level fields and not descendant fields (as can be seen from the source code).

        Attachments

          Activity

            People

            • Assignee:
              msahyoun Maruan Sahyoun
              Reporter:
              msahyoun Maruan Sahyoun
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: