From 8621cddf379d7abba91b5a5d471d112fcf3c6633 Mon Sep 17 00:00:00 2001 From: gregor Date: Thu, 20 Jan 2005 13:01:20 +0000 Subject: Bug 217 (MOA SS) behoben. git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@228 d688527b-c9ab-4aba-bd8d-4036d912da1d --- .../spss/server/iaik/xmlsign/XMLSignatureCreationProfileImpl.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'spss.server/src') diff --git a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xmlsign/XMLSignatureCreationProfileImpl.java b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xmlsign/XMLSignatureCreationProfileImpl.java index 56f47dad2..fb3ff4931 100644 --- a/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xmlsign/XMLSignatureCreationProfileImpl.java +++ b/spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xmlsign/XMLSignatureCreationProfileImpl.java @@ -145,7 +145,7 @@ public class XMLSignatureCreationProfileImpl null); } - if (algorithms.contains(SignatureAlgorithms.MD2_WITH_RSA) + if (algorithms.contains(SignatureAlgorithms.MD2_WITH_RSA) // TODO retournierten Algorithmus abhängig von der Schlüssellänge machen (bei längeren Schlüsseln SHA256 statt SHA1) || algorithms.contains(SignatureAlgorithms.MD5_WITH_RSA) || algorithms.contains(SignatureAlgorithms.RIPEMD128_WITH_RSA) || algorithms.contains(SignatureAlgorithms.RIPEMD160_WITH_RSA) @@ -154,8 +154,8 @@ public class XMLSignatureCreationProfileImpl return SignatureAlgorithms.SHA1_WITH_RSA; } else if ( - algorithms.contains(SignatureAlgorithms.ECDSA_X962_C2TNB191V1)) { - return SignatureAlgorithms.ECDSA_X962_C2TNB191V1; + algorithms.contains(SignatureAlgorithms.ECDSA)) { + return SignatureAlgorithms.ECDSA; } else if ( algorithms.contains(SignatureAlgorithms.DSA)) { return SignatureAlgorithms.DSA; -- cgit v1.2.3