aboutsummaryrefslogtreecommitdiff
path: root/spss.server/src/at/gv/egovernment/moa/spss/server
diff options
context:
space:
mode:
Diffstat (limited to 'spss.server/src/at/gv/egovernment/moa/spss/server')
-rw-r--r--spss.server/src/at/gv/egovernment/moa/spss/server/iaik/xmlsign/XMLSignatureCreationProfileImpl.java6
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;