public.javadoc.org.spincast.core.utils.ssl.SSLContextFactoryDefault.html Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of spincast-website Show documentation
Show all versions of spincast-website Show documentation
Source code for the https://www.spincast.org website.
SSLContextFactoryDefault (org.spincast:spincast-framework 1.0.0 API)
org.spincast.core.utils.ssl
Class SSLContextFactoryDefault
- java.lang.Object
-
- org.spincast.core.utils.ssl.SSLContextFactoryDefault
-
- All Implemented Interfaces:
- SSLContextFactory
public class SSLContextFactoryDefault
extends Object
implements SSLContextFactory
-
-
Field Summary
Fields
Modifier and Type
Field and Description
protected org.slf4j.Logger
logger
-
Constructor Summary
Constructors
Constructor and Description
SSLContextFactoryDefault()
-
Method Summary
All Methods Instance Methods Concrete Methods
Modifier and Type
Method and Description
protected SSLContext
createSSLContext(KeyManager[] keyManagers,
TrustManager[] trustManagers)
SSLContext
createSSLContext(String keyStorePath,
String keyStoreType,
String keyStoreStorePass,
String keyStoreKeypass)
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[]
getTrustManagers()
-
-
Method Detail
-
createSSLContext
public SSLContext createSSLContext(String keyStorePath,
String keyStoreType,
String keyStoreStorePass,
String keyStoreKeypass)
- Specified by:
createSSLContext
in interface SSLContextFactory
-
createSSLContext
protected SSLContext createSSLContext(KeyManager[] keyManagers,
TrustManager[] trustManagers)
-
getKeyStore
protected KeyStore getKeyStore(String keyStorePath,
String keyStoreType,
String keyStoreStorePass)
-
getKeyStoreInputStream
protected InputStream getKeyStoreInputStream(String keyStorePath)
-
getKeyManagers
protected KeyManager[] getKeyManagers(String keyStorePath,
String keyStoreType,
String keyStoreStorePass,
String keyStoreKeypass)
-
getTrustManagers
protected TrustManager[] getTrustManagers()
Copyright © 2019. All rights reserved.