public class SSLConfiguration extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SSLConfiguration.ClientAuth |
| Modifier and Type | Field and Description |
|---|---|
static String |
ANONYMOUS
Deprecated.
|
static String |
DISABLED |
static String |
ENABLED |
static String |
LOGIN |
static String |
ONEWAY |
static String |
TWOWAY |
| Constructor and Description |
|---|
SSLConfiguration() |
public static final String ONEWAY
public static final String TWOWAY
@Deprecated public static final String ANONYMOUS
public static final String LOGIN
public static final String DISABLED
public static final String ENABLED
public SSLEngine getServerSSLEngine() throws IOException, GeneralSecurityException
IOExceptionGeneralSecurityExceptionpublic boolean isClientEncryptionEnabled()
public boolean isSslEnabled()
public String getMode()
public void setMode(String mode)
public void setKeystoreFilename(String value)
public void setKeystorePassword(String value)
public void setKeystoreType(String value)
public void setSslProtocol(String value)
public void setKeymanagementAlgorithm(String value)
public void setTruststoreFilename(String value)
public void setTruststorePassword(String value)
public void setAuthenticationMode(SSLConfiguration.ClientAuth value)
public void setAuthenticationMode(String value)
public SSLConfiguration.ClientAuth getAuthenticationMode()
public void setEnabledCipherSuites(String enabledCipherSuites)
public String[] getEnabledCipherSuitesAsArray()
public void setKeystoreKeyAlias(String alias)
public void setKeystoreKeyPassword(String keyPassword)
public boolean isTruststoreCheckExpired()
public void setTruststoreCheckExpired(boolean checkExpired)
public KeyManager[] getKeyManagers() throws IOException, GeneralSecurityException
IOExceptionGeneralSecurityExceptionpublic TrustManager[] getTrustManagers() throws IOException, GeneralSecurityException
IOExceptionGeneralSecurityExceptionpublic static TrustManager[] getTrustAllManagers()
public boolean isDisableTrustManager()
public void setDisableTrustManager(boolean disableTrustManager)
Copyright © 2020. All rights reserved.