aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-pdfbox/src/main
diff options
context:
space:
mode:
authorAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2016-02-16 14:42:47 +0100
committerAndreas Fitzek <andreas.fitzek@iaik.tugraz.at>2016-02-16 14:42:47 +0100
commit36ddff26736c03a0f02ca636889a130fa1548f35 (patch)
tree36fff693c8bcc809eafcb7e1ce223dec98c79895 /pdf-as-pdfbox/src/main
parentec99166bc7057eaa70aedcb183e0409ae0bee028 (diff)
downloadpdf-as-4-36ddff26736c03a0f02ca636889a130fa1548f35.tar.gz
pdf-as-4-36ddff26736c03a0f02ca636889a130fa1548f35.tar.bz2
pdf-as-4-36ddff26736c03a0f02ca636889a130fa1548f35.zip
moved signature Size to signature profile
Diffstat (limited to 'pdf-as-pdfbox/src/main')
-rw-r--r--pdf-as-pdfbox/src/main/java/at/gv/egiz/pdfas/lib/impl/signing/pdfbox/PADESPDFBOXSigner.java2
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 c853ee17..31098e97 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
@@ -211,7 +211,7 @@ public class PADESPDFBOXSigner implements IPdfSigner, IConfigurationConstants {
int signatureSize = 0x1000;
try {
- String reservedSignatureSizeString = pdfObject.getStatus().getSettings().getValue(SIG_RESERVED_SIZE);
+ String reservedSignatureSizeString = signatureProfileSettings.getValue(SIG_RESERVED_SIZE);
if(reservedSignatureSizeString != null) {
signatureSize = Integer.parseInt(reservedSignatureSizeString);
}