diff options
author | Christian Maierhofer <cmaierhofer@iaik.tugraz.at> | 2015-04-20 16:21:03 +0200 |
---|---|---|
committer | Christian Maierhofer <cmaierhofer@iaik.tugraz.at> | 2015-04-20 16:21:03 +0200 |
commit | b8a81cf495fe905ab076d15c0f71c0ea0f93a216 (patch) | |
tree | eed0fc26ccec79283cdb6c118b83e9a9f409e8e1 /pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib | |
parent | 4d5019da1d4c1f3a3cfa7097300c4962879f3868 (diff) | |
download | pdf-as-4-b8a81cf495fe905ab076d15c0f71c0ea0f93a216.tar.gz pdf-as-4-b8a81cf495fe905ab076d15c0f71c0ea0f93a216.tar.bz2 pdf-as-4-b8a81cf495fe905ab076d15c0f71c0ea0f93a216.zip |
document element needed to be updated
Diffstat (limited to 'pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib')
-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!"); |