From 36ddff26736c03a0f02ca636889a130fa1548f35 Mon Sep 17 00:00:00 2001 From: Andreas Fitzek Date: Tue, 16 Feb 2016 14:42:47 +0100 Subject: moved signature Size to signature profile --- .../at/gv/egiz/pdfas/lib/impl/signing/pdfbox/PADESPDFBOXSigner.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pdf-as-pdfbox/src/main/java/at/gv/egiz') 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); } -- cgit v1.2.3