diff options
Diffstat (limited to 'pdf-as-pdfbox/src/main/java/at/gv')
-rw-r--r-- | pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl/signing/pdfbox/PADESPDFBOXSigner.java | 2 |
1 files changed, 2 insertions, 0 deletions
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!"); |