summaryrefslogtreecommitdiff
path: root/pdf-over-signator/src/main/java
diff options
context:
space:
mode:
authorBianca Schnalzer <bianca.schnalzer@egiz.gv.at>2017-08-07 08:13:09 +0200
committerBianca Schnalzer <bianca.schnalzer@egiz.gv.at>2017-08-07 08:13:09 +0200
commitc1d04c110f717521d0f6bed3e57fdcd39b5d0498 (patch)
tree4e37dc1fda02f8c78961527d418f262e8442a4cf /pdf-over-signator/src/main/java
parent59fe25941355ef5cf58ea1c1436e276f604cfab7 (diff)
downloadpdf-over-c1d04c110f717521d0f6bed3e57fdcd39b5d0498.tar.gz
pdf-over-c1d04c110f717521d0f6bed3e57fdcd39b5d0498.tar.bz2
pdf-over-c1d04c110f717521d0f6bed3e57fdcd39b5d0498.zip
Certificate Download Server + Searching for Placeholder
Diffstat (limited to 'pdf-over-signator/src/main/java')
-rw-r--r--pdf-over-signator/src/main/java/at/asit/pdfover/signator/SignatureParameter.java19
-rw-r--r--pdf-over-signator/src/main/java/at/asit/pdfover/signator/SigningState.java1
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;
+
}