From ca508dd0091a1e3736a6b98543996a47cc6a1835 Mon Sep 17 00:00:00 2001 From: gregor Date: Tue, 18 Jan 2005 11:06:28 +0000 Subject: =?UTF-8?q?Unterst=C3=BCtzung=20des=20aktuellen=20NS=20f=C3=BCr=20?= =?UTF-8?q?ECDSA-XML-Strukturen=20(dsig-more=20statt=20buergerkarte).?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@220 d688527b-c9ab-4aba-bd8d-4036d912da1d --- common/.classpath | 38 +++---- common/build.xml | 4 +- .../resources/schemas/ECDSAKeyValue.ancient.xsd | 122 +++++++++++++++++++++ .../res/resources/schemas/ECDSAKeyValue.wrong.xsd | 122 +++++++++++++++++++++ common/res/resources/schemas/ECDSAKeyValue.xsd | 2 +- .../src/at/gv/egovernment/moa/util/Constants.java | 16 +++ 6 files changed, 282 insertions(+), 22 deletions(-) create mode 100644 common/res/resources/schemas/ECDSAKeyValue.ancient.xsd create mode 100644 common/res/resources/schemas/ECDSAKeyValue.wrong.xsd diff --git a/common/.classpath b/common/.classpath index 614f844f4..6534e6c4e 100644 --- a/common/.classpath +++ b/common/.classpath @@ -1,22 +1,22 @@ - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + diff --git a/common/build.xml b/common/build.xml index 20ac141ad..c118f86de 100644 --- a/common/build.xml +++ b/common/build.xml @@ -16,8 +16,8 @@ - - + + diff --git a/common/res/resources/schemas/ECDSAKeyValue.ancient.xsd b/common/res/resources/schemas/ECDSAKeyValue.ancient.xsd new file mode 100644 index 000000000..833d327f2 --- /dev/null +++ b/common/res/resources/schemas/ECDSAKeyValue.ancient.xsd @@ -0,0 +1,122 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/common/res/resources/schemas/ECDSAKeyValue.wrong.xsd b/common/res/resources/schemas/ECDSAKeyValue.wrong.xsd new file mode 100644 index 000000000..db83c9df5 --- /dev/null +++ b/common/res/resources/schemas/ECDSAKeyValue.wrong.xsd @@ -0,0 +1,122 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/common/res/resources/schemas/ECDSAKeyValue.xsd b/common/res/resources/schemas/ECDSAKeyValue.xsd index 833d327f2..7a01b23d1 100644 --- a/common/res/resources/schemas/ECDSAKeyValue.xsd +++ b/common/res/resources/schemas/ECDSAKeyValue.xsd @@ -1,5 +1,5 @@ - + diff --git a/common/src/at/gv/egovernment/moa/util/Constants.java b/common/src/at/gv/egovernment/moa/util/Constants.java index e63dbf015..0d8f19064 100644 --- a/common/src/at/gv/egovernment/moa/util/Constants.java +++ b/common/src/at/gv/egovernment/moa/util/Constants.java @@ -67,7 +67,15 @@ public interface Constants { /** URI of the ECDSA XML namespace */ public static final String ECDSA_NS_URI = + "http://www.w3.org/2001/04/xmldsig-more#"; + + /** Ancient URI for the ECDSA XML namespace **/ + public static final String ECDSA_NS_URI_ANCIENT = "http://www.buergerkarte.at/namespaces/ecdsa/200206030#"; + + /** Wrong URI for the ECDSA XML namespace, used by the ZMR **/ + public static final String ECDSA_NS_URI_WRONG = // TODO Entfernen, sobald ZMR umgestellt hat + "http://www.w3.org/2004/01/xmldsig-more#"; /** Prefix used for ECDSA namespace */ public static final String ECDSA_PREFIX = "ecdsa"; @@ -76,6 +84,14 @@ public interface Constants { public static final String ECDSA_SCHEMA_LOCATION = SCHEMA_ROOT + "ECDSAKeyValue.xsd"; + /** Local location of ECDSA XML schema definition (ancient version) */ + public static final String ECDSA_SCHEMA_LOCATION_ANCIENT = + SCHEMA_ROOT + "ECDSAKeyValue.ancient.xsd"; + + /** Local location of ECDSA XML schema definition (wrong ZMR version) */ + public static final String ECDSA_SCHEMA_LOCATION_WRONG = + SCHEMA_ROOT + "ECDSAKeyValue.wrong.xsd"; + /** URI of the PersonData XML namespace. */ public static final String PD_NS_URI = "http://reference.e-government.gv.at/namespace/persondata/20020228#"; -- cgit v1.2.3