From 02550e295c5b90acf639e3677b799a226c1dd587 Mon Sep 17 00:00:00 2001 From: ferbas Date: Tue, 27 Oct 2009 10:52:29 +0000 Subject: parameterized codinghelper with hash method git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@355 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c --- src/main/java/at/knowcenter/wag/egov/egiz/sig/SignatureObject.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/sig/SignatureObject.java b/src/main/java/at/knowcenter/wag/egov/egiz/sig/SignatureObject.java index a765e8d..101c79e 100644 --- a/src/main/java/at/knowcenter/wag/egov/egiz/sig/SignatureObject.java +++ b/src/main/java/at/knowcenter/wag/egov/egiz/sig/SignatureObject.java @@ -1042,7 +1042,7 @@ public class SignatureObject implements Serializable } */ // added the ("UTF-8") - issuer = CodingHelper.encodeBase64(CodingHelper.buildDigest(issuer.getBytes("UTF-8"))); + issuer = CodingHelper.encodeBase64(CodingHelper.buildDigest(issuer.getBytes("UTF-8"), "sha1")); issuer = issuer.replaceAll("/", "_"); } return issuer; -- cgit v1.2.3