summaryrefslogtreecommitdiff
path: root/pdf-over-signator/src/main/java/at
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-over-signator/src/main/java/at')
-rw-r--r--pdf-over-signator/src/main/java/at/asit/pdfover/signator/BKUs.java3
-rw-r--r--pdf-over-signator/src/main/java/at/asit/pdfover/signator/SigningState.java12
2 files changed, 15 insertions, 0 deletions
diff --git a/pdf-over-signator/src/main/java/at/asit/pdfover/signator/BKUs.java b/pdf-over-signator/src/main/java/at/asit/pdfover/signator/BKUs.java
index 774508a6..8d936d3c 100644
--- a/pdf-over-signator/src/main/java/at/asit/pdfover/signator/BKUs.java
+++ b/pdf-over-signator/src/main/java/at/asit/pdfover/signator/BKUs.java
@@ -26,6 +26,9 @@ public enum BKUs {
/** Mobile BKU */
MOBILE,
+ /** KeyStore */
+ KS,
+
/** No BKU */
NONE
}
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 f624e5b4..1ca365b4 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
@@ -49,4 +49,16 @@ public interface SigningState {
* @param connector the BKU connector
*/
public void setBKUConnector(BkuSlConnector connector);
+
+ /**
+ * Set the KeyStore signer
+ * @param file KeyStore filename
+ * @param alias KeyStore alias
+ * @param kspassword KeyStore password
+ * @param keypassword KeyStore private key password
+ * @param type KeyStore type
+ * @throws SignatureException
+ */
+ public void setKSSigner(String file, String alias, String kspassword,
+ String keypassword, String type) throws SignatureException;
}