aboutsummaryrefslogtreecommitdiff
path: root/common/src/main
diff options
context:
space:
mode:
authorKlaus Stranacher <kstranacher@iaik.tugraz.at>2013-09-04 23:51:25 +0200
committerKlaus Stranacher <kstranacher@iaik.tugraz.at>2013-09-04 23:51:25 +0200
commit3b7776e9020ea8affdf9fcd10b12d2da28adcd08 (patch)
tree386e05cfdac42aa997b54181e400cc4ecfea99a1 /common/src/main
parent0d8dfd1b3b0892164fbd9d3d13eb231adad4062b (diff)
downloadmoa-id-spss-3b7776e9020ea8affdf9fcd10b12d2da28adcd08.tar.gz
moa-id-spss-3b7776e9020ea8affdf9fcd10b12d2da28adcd08.tar.bz2
moa-id-spss-3b7776e9020ea8affdf9fcd10b12d2da28adcd08.zip
Validation signing time (auth block) against server time
Update MOA-ID sample configs (new ES Test-PEPS Url) WAI compliant template
Diffstat (limited to 'common/src/main')
-rw-r--r--common/src/main/java/at/gv/egovernment/moa/util/Constants.java7
-rw-r--r--common/src/main/java/at/gv/egovernment/moa/util/XPathUtils.java2
2 files changed, 7 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 3b6e8c57d..75ea1534f 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
@@ -265,7 +265,7 @@ public interface Constants {
/** URI of the XAdES v1.1.1 namespace */
public static final String XADES_1_1_1_NS_URI = "http://uri.etsi.org/01903/v1.1.1#";
- public static final String XADES_1_1_1_NS_PREFIX = "xades";
+ public static final String XADES_1_1_1_NS_PREFIX = "xades111";
/** Local location of the XAdES v1.2.2 schema definition */
public static final String XADES_1_2_2_SCHEMA_LOCATION =
@@ -273,6 +273,8 @@ public interface Constants {
/** URI of the XAdES v1.2.2 namespace */
public static final String XADES_1_2_2_NS_URI = "http://uri.etsi.org/01903/v1.2.2#";
+
+ public static final String XADES_1_2_2_NS_PREFIX = "xades122";
/** Local location of the XAdES v1.1.1 schema definition */
public static final String XADES_1_3_2_SCHEMA_LOCATION =
@@ -280,6 +282,8 @@ public interface Constants {
/** URI of the XAdES v1.3.2 namespace */
public static final String XADES_1_3_2_NS_URI = "http://uri.etsi.org/01903/v1.3.2#";
+
+ public static final String XADES_1_3_2_NS_PREFIX = "xades132";
/** Local location of the XAdES v1.4.1 schema definition */
public static final String XADES_1_4_1_SCHEMA_LOCATION =
@@ -288,6 +292,7 @@ public interface Constants {
/** URI of the XAdES v1.4.1 namespace */
public static final String XADES_1_4_1_NS_URI = "http://uri.etsi.org/01903/v1.4.1#";
+ public static final String XADES_1_4_1_NS_PREFIX = "xades141";
/** URI of the SAML 2.0 namespace. */
public static final String SAML2_NS_URI =
"urn:oasis:names:tc:SAML:2.0:assertion";
diff --git a/common/src/main/java/at/gv/egovernment/moa/util/XPathUtils.java b/common/src/main/java/at/gv/egovernment/moa/util/XPathUtils.java
index 21c41257a..0dfccb034 100644
--- a/common/src/main/java/at/gv/egovernment/moa/util/XPathUtils.java
+++ b/common/src/main/java/at/gv/egovernment/moa/util/XPathUtils.java
@@ -385,7 +385,7 @@ public class XPathUtils {
* <code>null</code>, if no node matched.
* @throws XPathException An error occurred evaluating the XPath expression.
*/
- private static Node selectSingleNode(
+ public static Node selectSingleNode(
Node contextNode,
NamespaceContext nsContext,
String exp)