public class SSLContextBuilder extends Object
| Constructor and Description |
|---|
SSLContextBuilder() |
| Modifier and Type | Method and Description |
|---|---|
SSLContext |
build() |
SSLContextBuilder |
withAlgorithm(String algorithm) |
SSLContextBuilder |
withCertificateKeyStore(InputStream keyStoreStream,
String keyStorePassword,
String keyStoreType) |
SSLContextBuilder |
withCertificateKeyStore(InputStream keyStoreStream,
String keyStorePassword,
String keyStoreType,
String keyAlias) |
SSLContextBuilder |
withCertificateKeyStore(KeyStore keyStore,
String keyStorePassword) |
SSLContextBuilder |
withCertificateKeyStore(KeyStore keyStore,
String keyStorePassword,
String keyAlias) |
SSLContextBuilder |
withDefaultTrustKeyStore() |
SSLContextBuilder |
withTrustKeyStore(InputStream keyStoreStream,
String keyStorePassword,
String keyStoreType) |
SSLContextBuilder |
withTrustKeyStore(KeyStore keyStore,
String keyStorePassword) |
SSLContextBuilder |
withTrustManager(TrustManager trustManager) |
public SSLContextBuilder withAlgorithm(String algorithm)
public SSLContextBuilder withDefaultTrustKeyStore() throws InvalidSSLConfig
InvalidSSLConfigpublic SSLContextBuilder withTrustKeyStore(InputStream keyStoreStream, String keyStorePassword, String keyStoreType) throws InvalidSSLConfig
InvalidSSLConfigpublic SSLContextBuilder withTrustKeyStore(KeyStore keyStore, String keyStorePassword) throws InvalidSSLConfig
InvalidSSLConfigpublic SSLContextBuilder withTrustManager(TrustManager trustManager)
public SSLContextBuilder withCertificateKeyStore(InputStream keyStoreStream, String keyStorePassword, String keyStoreType) throws InvalidSSLConfig
InvalidSSLConfigpublic SSLContextBuilder withCertificateKeyStore(InputStream keyStoreStream, String keyStorePassword, String keyStoreType, String keyAlias) throws InvalidSSLConfig
InvalidSSLConfigpublic SSLContextBuilder withCertificateKeyStore(KeyStore keyStore, String keyStorePassword) throws InvalidSSLConfig
InvalidSSLConfigpublic SSLContextBuilder withCertificateKeyStore(KeyStore keyStore, String keyStorePassword, String keyAlias) throws InvalidSSLConfig
InvalidSSLConfigpublic SSLContext build() throws InvalidSSLConfig
InvalidSSLConfigCopyright © 2015. All rights reserved.