aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2009-10-27 10:52:29 +0000
committerferbas <ferbas@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2009-10-27 10:52:29 +0000
commit02550e295c5b90acf639e3677b799a226c1dd587 (patch)
treee75f7b5aa3dffd5d0d741bcf42a4b91094fece80 /src
parente07ff145437697c4ecc6ee160ada1261c00151fb (diff)
downloadpdf-as-3-02550e295c5b90acf639e3677b799a226c1dd587.tar.gz
pdf-as-3-02550e295c5b90acf639e3677b799a226c1dd587.tar.bz2
pdf-as-3-02550e295c5b90acf639e3677b799a226c1dd587.zip
parameterized codinghelper with hash method
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@355 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
Diffstat (limited to 'src')
-rw-r--r--src/main/java/at/knowcenter/wag/egov/egiz/sig/SignatureObject.java2
1 files changed, 1 insertions, 1 deletions
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;