From 8ca644904220e6afbb221ae032575351734ac313 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sun, 5 Apr 2015 06:49:05 +0200 Subject: [PATCH] Logical line break. --- src/kellinwood/security/zipsigner/optional/CustomKeySigner.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/kellinwood/security/zipsigner/optional/CustomKeySigner.java b/src/kellinwood/security/zipsigner/optional/CustomKeySigner.java index 8d2d8c7..e6fa6e7 100644 --- a/src/kellinwood/security/zipsigner/optional/CustomKeySigner.java +++ b/src/kellinwood/security/zipsigner/optional/CustomKeySigner.java @@ -12,6 +12,7 @@ public class CustomKeySigner { public static void signZip(String keystorePath, char[] keystorePw, String certAlias, char[] certPw, String signatureAlgorithm, String inputZipFilename, String outputZipFilename) throws Exception { KeyStore keystore = KeyStoreFileManager.loadKeyStore(keystorePath, keystorePw); + X509Certificate publicKey = (X509Certificate) keystore.getCertificate(certAlias); PrivateKey privateKey = (PrivateKey) keystore.getKey(certAlias, certPw);