From cab52052b010cb2388e39d452254e4ca534a1ec3 Mon Sep 17 00:00:00 2001 From: tkohegyi Date: Sat, 31 Aug 2024 01:20:05 +0200 Subject: [PATCH] addressing issue #21 - minor code cleanup --- .../bmp/proxy/selenium/CertificateCreator.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/main/java/net/lightbody/bmp/proxy/selenium/CertificateCreator.java b/src/main/java/net/lightbody/bmp/proxy/selenium/CertificateCreator.java index 24c9c84..a59cb51 100644 --- a/src/main/java/net/lightbody/bmp/proxy/selenium/CertificateCreator.java +++ b/src/main/java/net/lightbody/bmp/proxy/selenium/CertificateCreator.java @@ -19,8 +19,6 @@ import org.bouncycastle.operator.ContentSigner; import org.bouncycastle.operator.OperatorCreationException; import org.bouncycastle.operator.jcajce.JcaContentSignerBuilder; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; import javax.security.auth.x500.X500Principal; import java.math.BigInteger; @@ -32,10 +30,8 @@ import java.security.SignatureException; import java.security.cert.CertificateException; import java.security.cert.X509Certificate; -import java.util.ArrayList; import java.util.Date; import java.util.HashSet; -import java.util.List; import java.util.Set; /** @@ -50,13 +46,7 @@ * @author Brad Hill */ public class CertificateCreator { - private static final Logger log = LoggerFactory.getLogger(CertificateCreator.class); - - /** - * The default key generation algorithm for this package is RSA. - */ - public static final String KEYGEN_ALGO = "RSA"; /** * The default sign algorithm for this package is SHA1 with RSA. */