Package org.spincast.core.utils.ssl
Class SSLContextFactoryDefault
java.lang.Object
org.spincast.core.utils.ssl.SSLContextFactoryDefault
- All Implemented Interfaces:
SSLContextFactory
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateSSLContext
(String keyStorePath, String keyStoreType, String keyStoreStorePass, String keyStoreKeypass) protected SSLContext
createSSLContext
(KeyManager[] keyManagers, TrustManager[] trustManagers) protected KeyManager[]
getKeyManagers
(String keyStorePath, String keyStoreType, String keyStoreStorePass, String keyStoreKeypass) protected KeyStore
getKeyStore
(String keyStorePath, String keyStoreType, String keyStoreStorePass) protected InputStream
getKeyStoreInputStream
(String keyStorePath) protected TrustManager[]
-
Field Details
-
logger
protected static final org.slf4j.Logger logger
-
-
Constructor Details
-
SSLContextFactoryDefault
public SSLContextFactoryDefault()
-
-
Method Details
-
createSSLContext
public SSLContext createSSLContext(String keyStorePath, String keyStoreType, String keyStoreStorePass, String keyStoreKeypass) - Specified by:
createSSLContext
in interfaceSSLContextFactory
-
createSSLContext
-
getKeyStore
-
getKeyStoreInputStream
-
getKeyManagers
protected KeyManager[] getKeyManagers(String keyStorePath, String keyStoreType, String keyStoreStorePass, String keyStoreKeypass) -
getTrustManagers
-