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
InvalidSSLConfig
public SSLContextBuilder withTrustKeyStore(InputStream keyStoreStream, String keyStorePassword, String keyStoreType) throws InvalidSSLConfig
InvalidSSLConfig
public SSLContextBuilder withTrustKeyStore(KeyStore keyStore, String keyStorePassword) throws InvalidSSLConfig
InvalidSSLConfig
public SSLContextBuilder withTrustManager(TrustManager trustManager)
public SSLContextBuilder withCertificateKeyStore(InputStream keyStoreStream, String keyStorePassword, String keyStoreType) throws InvalidSSLConfig
InvalidSSLConfig
public SSLContextBuilder withCertificateKeyStore(InputStream keyStoreStream, String keyStorePassword, String keyStoreType, String keyAlias) throws InvalidSSLConfig
InvalidSSLConfig
public SSLContextBuilder withCertificateKeyStore(KeyStore keyStore, String keyStorePassword) throws InvalidSSLConfig
InvalidSSLConfig
public SSLContextBuilder withCertificateKeyStore(KeyStore keyStore, String keyStorePassword, String keyAlias) throws InvalidSSLConfig
InvalidSSLConfig
public SSLContext build() throws InvalidSSLConfig
InvalidSSLConfig
Copyright © 2015. All rights reserved.