You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Maruan Sahyoun (JIRA)" <ji...@apache.org> on 2016/05/26 18:37:13 UTC

[jira] [Resolved] (PDFBOX-3364) PDModel.getSignatureFields() only returns top level signature fields

     [ https://issues.apache.org/jira/browse/PDFBOX-3364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maruan Sahyoun resolved PDFBOX-3364.
------------------------------------
    Resolution: Fixed

changed retrieval of Signature fields to include descendant fields too.

> PDModel.getSignatureFields() only returns top level signature fields
> --------------------------------------------------------------------
>
>                 Key: PDFBOX-3364
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3364
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: PDModel
>    Affects Versions: 2.0.0, 2.0.1, 2.0.2, 2.1.0
>            Reporter: Maruan Sahyoun
>            Assignee: Maruan Sahyoun
>            Priority: Minor
>             Fix For: 2.0.2, 2.1.0
>
>
> From the users mailing list
> {quote}
> 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.
> {quote}
> The user correctly spotted that we only return top level fields and not descendant fields (as can be seen from the source code).



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

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