From d08cd566edccb8a748602c6f49667dca3f622331 Mon Sep 17 00:00:00 2001 From: Andreas Fitzek Date: Thu, 28 Nov 2013 14:25:29 +0100 Subject: start Refactoring --- .../java/at/gv/egiz/sl/util/ISignatureConnectorSLWrapper.java | 8 -------- 1 file changed, 8 deletions(-) (limited to 'pdf-as-lib/src/main/java/at/gv/egiz/sl') diff --git a/pdf-as-lib/src/main/java/at/gv/egiz/sl/util/ISignatureConnectorSLWrapper.java b/pdf-as-lib/src/main/java/at/gv/egiz/sl/util/ISignatureConnectorSLWrapper.java index 6781f898..cf7333b4 100644 --- a/pdf-as-lib/src/main/java/at/gv/egiz/sl/util/ISignatureConnectorSLWrapper.java +++ b/pdf-as-lib/src/main/java/at/gv/egiz/sl/util/ISignatureConnectorSLWrapper.java @@ -60,14 +60,6 @@ public class ISignatureConnectorSLWrapper implements ISignatureConnector { } public byte[] sign(byte[] input, int[] byteRange) throws PdfAsException { - try { - MessageDigest md = MessageDigest.getInstance("SHA256", "IAIK"); - md.update(input); - byte[] sha256 = md.digest(); - logger.info("Message digest should be: " + StringUtils.bytesToHexString(sha256) + " Size: " + input.length); - } catch (Exception e) { - e.printStackTrace(); - } CreateCMSSignatureRequestType request = connector.createCMSRequest( input, byteRange); CreateCMSSignatureResponseType response = connector -- cgit v1.2.3