aboutsummaryrefslogtreecommitdiff
path: root/pdf-as-common/src/main/java/at/gv/egiz
diff options
context:
space:
mode:
Diffstat (limited to 'pdf-as-common/src/main/java/at/gv/egiz')
-rw-r--r--pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/PDFASSignParameters.java6
-rw-r--r--pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/VerificationLevel.java4
2 files changed, 9 insertions, 1 deletions
diff --git a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/PDFASSignParameters.java b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/PDFASSignParameters.java
index a309b251..9b295ff5 100644
--- a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/PDFASSignParameters.java
+++ b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/PDFASSignParameters.java
@@ -26,6 +26,7 @@ package at.gv.egiz.pdfas.api.ws;
import java.io.Serializable;
import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
@XmlType(name="SignParameters")
@@ -38,10 +39,15 @@ public class PDFASSignParameters implements Serializable {
@XmlType(name="Connector")
public enum Connector {
+ @XmlEnumValue("jks")
JKS("jks"),
+ @XmlEnumValue("moa")
MOA("moa"),
+ @XmlEnumValue("bku")
BKU("bku"),
+ @XmlEnumValue("mobilebku")
MOBILEBKU("mobilebku"),
+ @XmlEnumValue("onlinebku")
ONLINEBKU("onlinebku");
diff --git a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/VerificationLevel.java b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/VerificationLevel.java
index ca4d893e..6410d269 100644
--- a/pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/VerificationLevel.java
+++ b/pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/VerificationLevel.java
@@ -1,11 +1,13 @@
package at.gv.egiz.pdfas.api.ws;
+import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
@XmlType(name = "VerificationLevel")
public enum VerificationLevel {
- INTEGRITY_ONLY("intOnly"), FULL_CERT_PATH("full");
+ @XmlEnumValue("intOnly") INTEGRITY_ONLY("intOnly"),
+ @XmlEnumValue("full") FULL_CERT_PATH("full");
private final String name;