From c2ae3db1bc6dcb8ba3eb3461c05e293917c004ca Mon Sep 17 00:00:00 2001 From: mcentner Date: Thu, 30 Oct 2008 10:33:29 +0000 Subject: Updated SMCC to use exclusive access and to throw exceptions upon locked or not activated cards. Improved locale support in the security layer request and response processing. Fixed issue in STAL which prevented the use of RSA-SHA1 signatures. Added additional parameters to the applet test pages. git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@128 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4 --- STAL/src/main/java/at/gv/egiz/stal/util/JCEAlgorithmNames.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'STAL') diff --git a/STAL/src/main/java/at/gv/egiz/stal/util/JCEAlgorithmNames.java b/STAL/src/main/java/at/gv/egiz/stal/util/JCEAlgorithmNames.java index 7e8a767e..c162eed4 100644 --- a/STAL/src/main/java/at/gv/egiz/stal/util/JCEAlgorithmNames.java +++ b/STAL/src/main/java/at/gv/egiz/stal/util/JCEAlgorithmNames.java @@ -31,7 +31,7 @@ public class JCEAlgorithmNames { public static String[] SHA_1_ALGORITMS = { "http://www.w3.org/2001/04/xmldsig-more#ecdsa-sha1", - "http://www.w3.org/2000/09/xmldsig#sha1" }; + "http://www.w3.org/2000/09/xmldsig#rsa-sha1" }; private static JCEAlgorithmNames instance = new JCEAlgorithmNames(); @@ -42,7 +42,7 @@ public class JCEAlgorithmNames { } public static String getJCEHashName(String xmlAlgorithmURI) { - return instance.hashNameMap.get(xmlAlgorithmURI); + return instance.hashNameMap.get(xmlAlgorithmURI); } public void registerHash(String xmlAlgorithmURI, String jceName) { -- cgit v1.2.3