diff options
author | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2014-10-24 10:46:14 +0200 |
---|---|---|
committer | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2014-10-24 10:46:14 +0200 |
commit | b14be6946454595f9a890e4015622a565ab3caa7 (patch) | |
tree | fc1aa779d8bf05fb8b2b635e333842f4b4999637 /pdf-as-pdfbox/src/main/java/at/gv | |
parent | a69453749e6317f15c6bcb6c1da5b33e31244f65 (diff) | |
download | pdf-as-4-b14be6946454595f9a890e4015622a565ab3caa7.tar.gz pdf-as-4-b14be6946454595f9a890e4015622a565ab3caa7.tar.bz2 pdf-as-4-b14be6946454595f9a890e4015622a565ab3caa7.zip |
Moved signature size
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, 1 insertions, 1 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 ee9da479..f3b867af 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 @@ -166,6 +166,7 @@ public class PADESPDFBOXSigner implements IPdfSigner, IConfigurationConstants { signer.setPDSignature(signature); SignatureOptions options = new SignatureOptions(); + options.setPreferedSignatureSize(0x1000); // Is visible Signature if (requestedSignature.isVisual()) { @@ -359,7 +360,6 @@ public class PADESPDFBOXSigner implements IPdfSigner, IConfigurationConstants { // } // } - options.setPreferedSignatureSize(0x1000); options.setPage(positioningInstruction.getPage()); options.setVisualSignature(properties.getVisibleSignature()); } |