[
https://issues.apache.org/jira/browse/FOP-3299?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Simon Steiner resolved FOP-3299.
--------------------------------
Resolution: Fixed
https://github.com/apache/xmlgraphics-fop/commit/e355d4ea8716d90b12ef6d5cc3e4e3fe362b2cf7
> PDF/A-3u with Digital Signature fails pdfForge Validator
> --------------------------------------------------------
>
> Key: FOP-3299
> URL: https://issues.apache.org/jira/browse/FOP-3299
> Project: FOP
> Issue Type: Bug
> Components: renderer/pdf
> Affects Versions: 2.11
> Environment: Windows 10, Eclipse 2026-03, JDK 17
> Reporter: DaveLaw
> Assignee: Simon Steiner
> Priority: Major
> Fix For: main
>
> Attachments: Fop3299_Example.java, pom.xml
>
>
> I tried validating a with-fop digitally signed "PDF/A-3u" using the pdfForge
> Validator.
> [https://www.pdfforge.org/online/en/validate-pdfa]
> It complained about the following:
> *ISO 19005-3:2012 §6.1.12*
> _"If DocMDP is present, then the Signature References dictionary (ISO
> 32000-1:2008, 12.8.1, Table 253) shall not contain the keys DigestLocation,
> DigestMethod, and DigestValue."_
> I made a change to org.apache.fop.pdf.PDFSignature, commenting out the
> following line:
> put("DigestMethod", new PDFName("SHA1"));
> pdfForge, thereafter, was happy with the generated PDF.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)