From 53ae98cdfa510650c1e015efd0d11a96ad4dc87a Mon Sep 17 00:00:00 2001 From: Andreas Fitzek Date: Mon, 20 Jun 2016 12:45:07 +0200 Subject: ASiC Library added --- .../at/gv/egovernment/moaspss/util/Constants.java | 15 ++++- .../src/main/resources/resources/schemas/asic.xsd | 71 ++++++++++++++++++++++ 2 files changed, 84 insertions(+), 2 deletions(-) create mode 100644 moaSig/common/src/main/resources/resources/schemas/asic.xsd (limited to 'moaSig/common') diff --git a/moaSig/common/src/main/java/at/gv/egovernment/moaspss/util/Constants.java b/moaSig/common/src/main/java/at/gv/egovernment/moaspss/util/Constants.java index 45e7d8a..0710d82 100644 --- a/moaSig/common/src/main/java/at/gv/egovernment/moaspss/util/Constants.java +++ b/moaSig/common/src/main/java/at/gv/egovernment/moaspss/util/Constants.java @@ -390,7 +390,17 @@ public interface Constants { /* Local location of the XML Encryption XML schema definition. */ public static final String SAML2_METADATA_SCHEMA_LOCATION = SCHEMA_ROOT + "saml-schema-metadata-2.0.xsd"; - + + /** Prefix used for the XML Encryption XML namespace */ + public static final String ASIC_PREFIX = "asic"; + + /* Prefix used for the XML Encryption XML namespace */ + public static final String ASIC_URI = "http://uri.etsi.org/02918/v1.2.1#"; + + /** Local location of the XML Encryption XML schema definition. */ + public static final String ASIC_SCHEMA_LOCATION = + SCHEMA_ROOT + "asic.xsd"; + /** * Contains all namespaces and local schema locations for XML schema * definitions relevant for MOA. For use in validating XML parsers. @@ -424,7 +434,8 @@ public interface Constants { + (STORK_NS_URI + " " + STORK_SCHEMA_LOCATION + " ") + (STORKP_NS_URI + " " + STORKP_SCHEMA_LOCATION + " ") + (XENC_NS_URI + " " + XENC_SCHEMA_LOCATION + " ") - + (SAML2_METADATA_URI + " " + SAML2_METADATA_SCHEMA_LOCATION); + + (SAML2_METADATA_URI + " " + SAML2_METADATA_SCHEMA_LOCATION + " ") + + (ASIC_URI + " " + ASIC_SCHEMA_LOCATION); /** URN prefix for bPK and wbPK. */ public static final String URN_PREFIX = "urn:publicid:gv.at"; diff --git a/moaSig/common/src/main/resources/resources/schemas/asic.xsd b/moaSig/common/src/main/resources/resources/schemas/asic.xsd new file mode 100644 index 0000000..d6d3534 --- /dev/null +++ b/moaSig/common/src/main/resources/resources/schemas/asic.xsd @@ -0,0 +1,71 @@ + + + + + + + Schema for ASiCManifest – See ETSI EN 319 162 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Schema for parallel detached XAdES Signatures + + + + + + + + \ No newline at end of file -- cgit v1.2.3