diff options
author | gregor <gregor@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2005-01-20 13:01:20 +0000 |
---|---|---|
committer | gregor <gregor@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2005-01-20 13:01:20 +0000 |
commit | 8621cddf379d7abba91b5a5d471d112fcf3c6633 (patch) | |
tree | e942cebdc7f2e2698e815762b498b011128ee221 /spss.server/src/at/gv | |
parent | fa50401f7cb48cf738259355f96798511cf8373e (diff) | |
download | moa-id-spss-8621cddf379d7abba91b5a5d471d112fcf3c6633.tar.gz moa-id-spss-8621cddf379d7abba91b5a5d471d112fcf3c6633.tar.bz2 moa-id-spss-8621cddf379d7abba91b5a5d471d112fcf3c6633.zip |
Bug 217 (MOA SS) behoben.
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@228 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'spss.server/src/at/gv')
-rw-r--r-- | spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xmlsign/XMLSignatureCreationProfileImpl.java | 6 |
1 files changed, 3 insertions, 3 deletions
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; |