summaryrefslogtreecommitdiff
path: root/STAL/src/main/java/at/gv/egiz
diff options
context:
space:
mode:
Diffstat (limited to 'STAL/src/main/java/at/gv/egiz')
-rw-r--r--STAL/src/main/java/at/gv/egiz/stal/util/JCEAlgorithmNames.java4
1 files changed, 2 insertions, 2 deletions
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) {