aboutsummaryrefslogtreecommitdiff
path: root/common/src/main/java/at/gv/egovernment/moa/util/Constants.java
diff options
context:
space:
mode:
Diffstat (limited to 'common/src/main/java/at/gv/egovernment/moa/util/Constants.java')
-rw-r--r--common/src/main/java/at/gv/egovernment/moa/util/Constants.java21
1 files changed, 19 insertions, 2 deletions
diff --git a/common/src/main/java/at/gv/egovernment/moa/util/Constants.java b/common/src/main/java/at/gv/egovernment/moa/util/Constants.java
index 39cee3a04..3b6e8c57d 100644
--- a/common/src/main/java/at/gv/egovernment/moa/util/Constants.java
+++ b/common/src/main/java/at/gv/egovernment/moa/util/Constants.java
@@ -83,7 +83,7 @@ public interface Constants {
/** Local location of the MOA XML schema definition. */
public static final String MOA_SCHEMA_LOCATION =
- SCHEMA_ROOT + "MOA-SPSS-1.4.7.xsd";
+ SCHEMA_ROOT + "MOA-SPSS-1.5.2.xsd";
/** URI of the MOA configuration XML namespace. */
public static final String MOA_CONFIG_NS_URI =
@@ -399,7 +399,19 @@ public interface Constants {
/** URI of the SHA1 digest algorithm */
public static final String SHA1_URI =
"http://www.w3.org/2000/09/xmldsig#sha1";
-
+
+ /** URI of the SHA1 digest algorithm */
+ public static final String SHA256_URI =
+ "http://www.w3.org/2000/09/xmldsig#sha256";
+
+ /** URI of the SHA1 digest algorithm */
+ public static final String SHA384_URI =
+ "http://www.w3.org/2000/09/xmldsig#sha384";
+
+ /** URI of the SHA1 digest algorithm */
+ public static final String SHA512_URI =
+ "http://www.w3.org/2000/09/xmldsig#sha512";
+
/** URI of the Canonical XML algorithm */
public static final String C14N_URI =
"http://www.w3.org/TR/2001/REC-xml-c14n-20010315";
@@ -426,6 +438,11 @@ public interface Constants {
public static final String MOA_SPSS_CREATE_XML_REQUEST = "CreateXMLSignatureRequest";
/**
+ * Local name of request for creating a CMS signature.
+ */
+ public static final String MOA_SPSS_CREATE_CMS_REQUEST = "CreateCMSSignatureRequest";
+
+ /**
* Local name of request for verifying an XML signature.
*/
public static final String MOA_SPSS_VERIFY_XML_REQUEST = "VerifiyXMLSignatureRequest";