Package com.floragunn.dlic.util
Class SettingsBasedSSLConfigurator.SSLConfig
- java.lang.Object
-
- com.floragunn.dlic.util.SettingsBasedSSLConfigurator.SSLConfig
-
- Enclosing class:
- SettingsBasedSSLConfigurator
public static class SettingsBasedSSLConfigurator.SSLConfig extends Object
-
-
Constructor Summary
Constructors Constructor Description SSLConfig(SSLContext sslContext, String[] supportedProtocols, String[] supportedCipherSuites, HostnameVerifier hostnameVerifier, boolean hostnameVerificationEnabled, boolean trustAll, boolean startTlsEnabled, KeyStore effectiveTruststore, List<String> effectiveTruststoreAliases, KeyStore effectiveKeystore, char[] effectiveKeyPassword, String effectiveKeyAlias, boolean clientCertAuth)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetEffectiveKeyAlias()String[]getEffectiveKeyAliasesArray()char[]getEffectiveKeyPassword()StringgetEffectiveKeyPasswordString()KeyStoregetEffectiveKeystore()KeyStoregetEffectiveTruststore()List<String>getEffectiveTruststoreAliases()String[]getEffectiveTruststoreAliasesArray()HostnameVerifiergetHostnameVerifier()RestrictingSSLSocketFactorygetRestrictedSSLSocketFactory()String[]getSupportedCipherSuites()String[]getSupportedProtocols()SSLContextgetUnrestrictedSslContext()booleanisClientCertAuthenticationEnabled()booleanisHostnameVerificationEnabled()booleanisStartTlsEnabled()booleanisTrustAllEnabled()org.apache.http.conn.ssl.SSLConnectionSocketFactorytoSSLConnectionSocketFactory()org.apache.http.nio.conn.ssl.SSLIOSessionStrategytoSSLIOSessionStrategy()StringtoString()
-
-
-
Constructor Detail
-
SSLConfig
public SSLConfig(SSLContext sslContext, String[] supportedProtocols, String[] supportedCipherSuites, HostnameVerifier hostnameVerifier, boolean hostnameVerificationEnabled, boolean trustAll, boolean startTlsEnabled, KeyStore effectiveTruststore, List<String> effectiveTruststoreAliases, KeyStore effectiveKeystore, char[] effectiveKeyPassword, String effectiveKeyAlias, boolean clientCertAuth)
-
-
Method Detail
-
getUnrestrictedSslContext
public SSLContext getUnrestrictedSslContext()
-
getRestrictedSSLSocketFactory
public RestrictingSSLSocketFactory getRestrictedSSLSocketFactory()
-
getSupportedProtocols
public String[] getSupportedProtocols()
-
getSupportedCipherSuites
public String[] getSupportedCipherSuites()
-
getHostnameVerifier
public HostnameVerifier getHostnameVerifier()
-
toSSLIOSessionStrategy
public org.apache.http.nio.conn.ssl.SSLIOSessionStrategy toSSLIOSessionStrategy()
-
toSSLConnectionSocketFactory
public org.apache.http.conn.ssl.SSLConnectionSocketFactory toSSLConnectionSocketFactory()
-
isStartTlsEnabled
public boolean isStartTlsEnabled()
-
isHostnameVerificationEnabled
public boolean isHostnameVerificationEnabled()
-
getEffectiveTruststore
public KeyStore getEffectiveTruststore()
-
getEffectiveKeystore
public KeyStore getEffectiveKeystore()
-
getEffectiveKeyPassword
public char[] getEffectiveKeyPassword()
-
getEffectiveKeyPasswordString
public String getEffectiveKeyPasswordString()
-
getEffectiveKeyAlias
public String getEffectiveKeyAlias()
-
getEffectiveTruststoreAliasesArray
public String[] getEffectiveTruststoreAliasesArray()
-
getEffectiveKeyAliasesArray
public String[] getEffectiveKeyAliasesArray()
-
isTrustAllEnabled
public boolean isTrustAllEnabled()
-
isClientCertAuthenticationEnabled
public boolean isClientCertAuthenticationEnabled()
-
-