From b8a81cf495fe905ab076d15c0f71c0ea0f93a216 Mon Sep 17 00:00:00 2001 From: Christian Maierhofer Date: Mon, 20 Apr 2015 16:21:03 +0200 Subject: document element needed to be updated --- .../at/gv/egiz/pdfas/lib/impl/signing/pdfbox/PADESPDFBOXSigner.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl/signing/pdfbox/PADESPDFBOXSigner.java b/pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl/signing/pdfbox/PADESPDFBOXSigner.java index 2e133284..9b173d66 100644 --- a/pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl/signing/pdfbox/PADESPDFBOXSigner.java +++ b/pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl/signing/pdfbox/PADESPDFBOXSigner.java @@ -554,6 +554,8 @@ public class PADESPDFBOXSigner implements IPdfSigner, IConfigurationConstants { sigBlock.getCOSObject().setNeedToBeUpdate(true); treeRoot.getCOSObject().setNeedToBeUpdate(true); objectdic.getCOSObject().setNeedToBeUpdate(true); + docElement.getCOSObject().setNeedToBeUpdate(true); + } }catch(Exception e){ logger.error("Could not create PDF-UA conform document!"); -- cgit v1.2.3