From e0ac5d79c01e458eeb5eb4233f8a0360db878911 Mon Sep 17 00:00:00 2001 From: Thomas <> Date: Thu, 12 Jan 2023 12:58:24 +0100 Subject: feat(signatureblock): optimize processing for signed documents with less space for signature block Issue #73 add configuration property to stop signing process if document has less space for new signature block and new page is not allowed because document is already signed --- pdf-as-common/src/main/resources/resources/messages/common.properties | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pdf-as-common') diff --git a/pdf-as-common/src/main/resources/resources/messages/common.properties b/pdf-as-common/src/main/resources/resources/messages/common.properties index 0a7f1787..d8695619 100644 --- a/pdf-as-common/src/main/resources/resources/messages/common.properties +++ b/pdf-as-common/src/main/resources/resources/messages/common.properties @@ -24,6 +24,8 @@ error.pdf.stamp.08=Failed to write the visual signature object error.pdf.stamp.09=no suitable placeholder found and STRICT matching mode requested error.pdf.stamp.10=no stamper available error.pdf.stamp.11=Failed to calculate page length +error.pdf.stamp.12=Signature-block would be need a new page, but new pages are not allowed on already signed documents + error.invalid.signature.parameter.01=Signature block parameter is invalid #Signature errors -- cgit v1.2.3