diff options
author | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2014-10-09 13:42:43 +0200 |
---|---|---|
committer | Andreas Fitzek <andreas.fitzek@iaik.tugraz.at> | 2014-10-09 13:42:43 +0200 |
commit | a38d6891c9c08ddaa2818515716c28d40d515997 (patch) | |
tree | 39d83ab916e38b36b2285a050fc67913904b7f74 /pdf-as-common/src/main/java/at/gv/egiz | |
parent | 457ea1c16e4238faf5d78ca6e3866cc0d2e87a15 (diff) | |
download | pdf-as-4-a38d6891c9c08ddaa2818515716c28d40d515997.tar.gz pdf-as-4-a38d6891c9c08ddaa2818515716c28d40d515997.tar.bz2 pdf-as-4-a38d6891c9c08ddaa2818515716c28d40d515997.zip |
WS definitons for enums updated
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.java | 6 | ||||
-rw-r--r-- | pdf-as-common/src/main/java/at/gv/egiz/pdfas/api/ws/VerificationLevel.java | 4 |
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; |