diff options
Diffstat (limited to 'pdf-over-signator/src/main')
-rw-r--r-- | pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java | 19 | ||||
-rw-r--r-- | pdf-over-signator/src/main/java/at/asit/pdfover/signator/SigningState.java | 1 |
2 files changed, 20 insertions, 0 deletions
diff --git a/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java b/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java index 8e1b965e..c52370d4 100644 --- a/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java +++ b/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java @@ -44,6 +44,25 @@ public abstract class SignatureParameter { /** The signature device */ protected BKUs signatureDevice; + + /** Whether so look for placeholder signatures or not. */ + protected boolean searchForPlaceholderSignatures = false; + + /** + * @return the searchForPlaceholderSignatures + */ + public boolean isSearchForPlaceholderSignatures() { + return this.searchForPlaceholderSignatures; + } + + /** + * @param value + * the searchForPlaceholderSignatures to set + */ + public void setSearchForPlaceholderSignatures(boolean value) { + this.searchForPlaceholderSignatures = value; + } + /** * @return the signatureDevice */ diff --git a/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SigningState.java b/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SigningState.java index 1ca365b4..1cfe8065 100644 --- a/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SigningState.java +++ b/pdf-over-signator/src/main/java/at/asit/pdfover/signator/SigningState.java @@ -61,4 +61,5 @@ public interface SigningState { */ public void setKSSigner(String file, String alias, String kspassword, String keypassword, String type) throws SignatureException; + } |