diff options
author | Vitaly Takmazov | 2019-06-19 11:07:36 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2019-06-19 11:07:36 +0300 |
commit | 3121d9ca9cabd3750637bab08ceb547cd6f7c050 (patch) | |
tree | 8442471bdda9388f95132b8ec1af07556b188fd9 /src/main/java/com/juick/server/KeystoreManager.java | |
parent | 4103c49bb6debab46d07b081e6f37fda88d5cae7 (diff) |
Short logger names
Diffstat (limited to 'src/main/java/com/juick/server/KeystoreManager.java')
-rw-r--r-- | src/main/java/com/juick/server/KeystoreManager.java | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/main/java/com/juick/server/KeystoreManager.java b/src/main/java/com/juick/server/KeystoreManager.java index 61caba82..b1ce7a56 100644 --- a/src/main/java/com/juick/server/KeystoreManager.java +++ b/src/main/java/com/juick/server/KeystoreManager.java @@ -17,7 +17,7 @@ import java.util.Arrays; import java.util.stream.Collectors; public class KeystoreManager { - private static final Logger logger = LoggerFactory.getLogger("com.juick.server"); + private static final Logger logger = LoggerFactory.getLogger("ActivityPub"); private String keystorePassword; @@ -38,16 +38,8 @@ public class KeystoreManager { } } - public KeyStore getKeystore() { - return ks; - } - - public KeyManagerFactory getKeymanagerFactory() { - return kmf; - } - private KeyPair getKeyPair() { - Key privateKey = null; + Key privateKey; try { privateKey = ks.getKey("1", keystorePassword.toCharArray()); Certificate certificate = ks.getCertificate("1"); |