serverConfigBuilder() has to be used, for client-side SNI configuration please use
clientConfigBuilder().
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final String | |
| pack-priv final boolean | |
| private static final SSLEngineConfigurator | |
| pack-priv final SSLEngineConfigurator |
| Access | Constructor and Description |
|---|---|
| private | SNIConfig(final SSLEngineConfigurator engineConfig, final String host, final boolean isClientConfig)
|
| Modifier and Type | Method and Description |
|---|---|
| public static SNIConfig | failServerConfig(final String host)
Returns: SNIConfig for |
| public static SNIConfig | newClientConfig(final String
the SNI host name to be sent to a server, or null to not use SNI extension host)Returns: client-side SNI configuration |
| public static SNIConfig | newClientConfig(final String
the SNI host name to be sent to a server, or null to not use SNI extension host, final SSLEngineConfigurator SSLEngineConfigurator, or null for the default configurationReturns: client-side SNI configuration |
| public static SNIConfig | newServerConfig(final SSLEngineConfigurator
SSLEngineConfigurator, or null for the default configurationReturns: server-side SNI configuration |
| host | back to summary |
|---|---|
| pack-priv final String host | |
| isClientConfig | back to summary |
|---|---|
| pack-priv final boolean isClientConfig | |
| NULL_SERVER_CONFIG | back to summary |
|---|---|
| private static final SSLEngineConfigurator NULL_SERVER_CONFIG | |
| sslEngineConfigurator | back to summary |
|---|---|
| pack-priv final SSLEngineConfigurator sslEngineConfigurator | |
| SNIConfig | back to summary |
|---|---|
| private SNIConfig(final SSLEngineConfigurator engineConfig, final String host, final boolean isClientConfig) | |
| failServerConfig | back to summary |
|---|---|
public static SNIConfig failServerConfig(final String host)
| |
| newClientConfig | back to summary |
|---|---|
| public static SNIConfig newClientConfig(final String host) | |
| newClientConfig | back to summary |
|---|---|
public static SNIConfig newClientConfig(final String host, final SSLEngineConfigurator sslEngineConfigurator)
| |
| newServerConfig | back to summary |
|---|---|
public static SNIConfig newServerConfig(final SSLEngineConfigurator sslEngineConfigurator)
| |
| Access | Constructor and Description |
|---|---|
| public |
| NullSSLEngineConfigurator | back to summary |
|---|---|
| public NullSSLEngineConfigurator() | |
| configure | back to summary |
|---|---|
| public SSLEngine configure(SSLEngine sslEngine) Overrides org. Doc from org. Configure passed
| |
| copy | back to summary |
|---|---|
| public SSLEngineConfigurator copy() Overrides org.
| |
| createSSLEngine | back to summary |
|---|---|
| public SSLEngine createSSLEngine(String peerHost, int peerPort) Overrides org. Implements org. Doc from org. Create and configure Applications using this factory method are providing hints for an internal session reuse strategy. Some cipher suites (such as Kerberos) require remote hostname information, in which case peerHost needs to be specified.
| |
| createSSLEngine | back to summary |
|---|---|
| public SSLEngine createSSLEngine() Overrides org. Doc from org. Create and configure
| |
| setClientMode | back to summary |
|---|---|
| public SSLEngineConfigurator setClientMode(boolean clientMode) Overrides org. Doc from org. Set
| |
| setEnabledCipherSuites | back to summary |
|---|---|
| public SSLEngineConfigurator setEnabledCipherSuites(String[] enabledCipherSuites) Overrides org. Doc from org. Sets a list of enabled cipher suites. Note further modifications made on the passed array won't be propagated to SSLEngineConfigurator.
| |
| setEnabledProtocols | back to summary |
|---|---|
| public SSLEngineConfigurator setEnabledProtocols(String[] enabledProtocols) Overrides org. Doc from org. Sets a list of enabled protocols. Note further modifications made on the passed array won't be propagated to SSLEngineConfigurator.
| |
| setNeedClientAuth | back to summary |
|---|---|
| public SSLEngineConfigurator setNeedClientAuth(boolean needClientAuth) Overrides org.
| |
| setWantClientAuth | back to summary |
|---|---|
| public SSLEngineConfigurator setWantClientAuth(boolean wantClientAuth) Overrides org.
| |