Stefan Geelen created PDFBOX-5377:
-------------------------------------
Summary: pDAcroForm.flatten() does not remove /SigFlags in
/Catalog object
Key: PDFBOX-5377
URL: https://issues.apache.org/jira/browse/PDFBOX-5377
Project: PDFBox
Issue Type: Bug
Components: AcroForm
Affects Versions: 2.0.25
Reporter: Stefan Geelen
A PDF document contains Signature fields (X.509) with /SigFlags 1 indication in
the /Catalog object.
When the document is flattened, this signature image remains in the document
and underlying object is removed. Perfect!
But the SigFlags in /Catalog object is not removed although this has no value
anymore and prevent the document being correct signed/certifiied afterwards (at
least with our software).
Can the SigFlags in /Catalog object be removed or its value be changed to 0 so
this corresponds to the content of the document ?
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]