aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-common
diff options
context:
space:
mode:
authorThomas <>2023-01-12 12:58:24 +0100
committerThomas <>2023-01-12 12:58:24 +0100
commite0ac5d79c01e458eeb5eb4233f8a0360db878911 (patch)
treee1760ce016e3f6c8eb0563bff175bf75a90afde0 /pdf-as-common
parente69ba716ebae7307645ff9c640967d58ef48b9f4 (diff)
downloadpdf-as-4-e0ac5d79c01e458eeb5eb4233f8a0360db878911.tar.gz
pdf-as-4-e0ac5d79c01e458eeb5eb4233f8a0360db878911.tar.bz2
pdf-as-4-e0ac5d79c01e458eeb5eb4233f8a0360db878911.zip
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
Diffstat (limited to 'pdf-as-common')
-rw-r--r--pdf-as-common/src/main/resources/resources/messages/common.properties2
1 files changed, 2 insertions, 0 deletions
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