diff options
author | rudolf <rudolf@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2005-03-23 11:47:29 +0000 |
---|---|---|
committer | rudolf <rudolf@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2005-03-23 11:47:29 +0000 |
commit | 50e7afe5e4985840c9ad4eafb8a1379357c8b08e (patch) | |
tree | c3d27537affd18add7afa85379e58f3c6475090f /id.server/src/at/gv | |
parent | dedbd961eb36c780bf0bea247b401e621890720a (diff) | |
download | moa-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')
-rw-r--r-- | id.server/src/at/gv/egovernment/moa/id/util/ECDSAKeyValueConverter.java | 6 |
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 { |