aboutsummaryrefslogtreecommitdiff
path: root/id.server/src/at/gv/egovernment/moa/id
diff options
context:
space:
mode:
authorrudolf <rudolf@d688527b-c9ab-4aba-bd8d-4036d912da1d>2005-03-23 11:47:29 +0000
committerrudolf <rudolf@d688527b-c9ab-4aba-bd8d-4036d912da1d>2005-03-23 11:47:29 +0000
commit50e7afe5e4985840c9ad4eafb8a1379357c8b08e (patch)
treec3d27537affd18add7afa85379e58f3c6475090f /id.server/src/at/gv/egovernment/moa/id
parentdedbd961eb36c780bf0bea247b401e621890720a (diff)
downloadmoa-id-spss-50e7afe5e4985840c9ad4eafb8a1379357c8b08e.tar.gz
moa-id-spss-50e7afe5e4985840c9ad4eafb8a1379357c8b08e.tar.bz2
moa-id-spss-50e7afe5e4985840c9ad4eafb8a1379357c8b08e.zip
Implementierung geƤndert, da URI auf manchen Linux Systemen/JDKs Probleme bereitet
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@276 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'id.server/src/at/gv/egovernment/moa/id')
-rw-r--r--id.server/src/at/gv/egovernment/moa/id/util/ECDSAKeyValueConverter.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/id.server/src/at/gv/egovernment/moa/id/util/ECDSAKeyValueConverter.java b/id.server/src/at/gv/egovernment/moa/id/util/ECDSAKeyValueConverter.java
index ca609a027..adb28d4ed 100644
--- a/id.server/src/at/gv/egovernment/moa/id/util/ECDSAKeyValueConverter.java
+++ b/id.server/src/at/gv/egovernment/moa/id/util/ECDSAKeyValueConverter.java
@@ -62,9 +62,11 @@ public static PublicKey element2ECDSAPublicKey(Element keyValueElem) throws Exce
if (namedCurve != null)
{
- URI curveNameURN = new URI(namedCurve.getAttributeNS(null, "URN"));
+ // URL curveNameURN = new URL(namedCurve.getAttributeNS(null, "URN"));
+ String curveNameOID = namedCurve.getAttributeNS(null, "URN").substring(8);
ECCParameterFactory eccParamFactory = ECCParameterFactory.getInstance();
- eccParameterSpec = eccParamFactory.getParameterByOID(curveNameURN.getPath().substring(4));
+ // eccParameterSpec = eccParamFactory.getParameterByOID(curveNameURN.getPath().substring(4));
+ eccParameterSpec = eccParamFactory.getParameterByOID(curveNameOID);
}
else
{