public final class SslProvider extends Object
| Modifier and Type | Class and Description | 
|---|---|
static interface  | 
SslProvider.Builder  | 
static interface  | 
SslProvider.DefaultConfigurationSpec
Deprecated. 
 
as of 1.0.6. Prefer  
SslProvider.SslContextSpec#sslContext(ProtocolSslContextSpec),
 where the default configuration is applied before any other custom configuration.
 This will be removed in version 1.2.0. | 
static class  | 
SslProvider.DefaultConfigurationType
Deprecated. 
 
as of 1.0.6. Prefer  
SslProvider.SslContextSpec#sslContext(ProtocolSslContextSpec),
 where the default configuration is applied before any other custom configuration.
 This will be removed in version 1.2.0. | 
static interface  | 
SslProvider.ProtocolSslContextSpec
SslContext builder that provides, specific for the protocol, default configuration. 
 | 
static interface  | 
SslProvider.SslContextSpec  | 
| Modifier and Type | Method and Description | 
|---|---|
static SslProvider | 
addHandlerConfigurator(SslProvider provider,
                      Consumer<? super SslHandler> handlerConfigurator)
Creates a new  
SslProvider with a prepending handler
 configurator callback to inject default settings to an existing provider
 configuration. | 
void | 
addSslHandler(Channel channel,
             SocketAddress remoteAddress,
             boolean sslDebug)  | 
static SslProvider.SslContextSpec | 
builder()
Creates a builder for  
SslProvider. | 
void | 
configure(SslHandler sslHandler)  | 
static SslProvider | 
defaultClientProvider()
Return the default client ssl provider. 
 | 
boolean | 
equals(Object o)  | 
SslProvider.DefaultConfigurationType | 
getDefaultConfigurationType()
Returns the configured default configuration type. 
 | 
SslContext | 
getSslContext()
Returns  
SslContext instance with configured settings. | 
int | 
hashCode()  | 
String | 
toString()  | 
static SslProvider | 
updateDefaultConfiguration(SslProvider provider,
                          SslProvider.DefaultConfigurationType type)
Deprecated. 
 
as of 1.0.6. Prefer  
SslProvider.SslContextSpec#sslContext(ProtocolSslContextSpec),
 where the default configuration is applied before any other custom configuration.
 This will be removed in version 1.2.0. | 
public static SslProvider.SslContextSpec builder()
SslProvider.public static SslProvider addHandlerConfigurator(SslProvider provider, Consumer<? super SslHandler> handlerConfigurator)
SslProvider with a prepending handler
 configurator callback to inject default settings to an existing provider
 configuration.@Deprecated public static SslProvider updateDefaultConfiguration(SslProvider provider, SslProvider.DefaultConfigurationType type)
SslProvider.SslContextSpec#sslContext(ProtocolSslContextSpec),
 where the default configuration is applied before any other custom configuration.
 This will be removed in version 1.2.0.SslProvider.DefaultConfigurationType used by this SslProvider.public static SslProvider defaultClientProvider()
public SslContext getSslContext()
SslContext instance with configured settings.SslContext instance with configured settings.@Nullable public SslProvider.DefaultConfigurationType getDefaultConfigurationType()
public void configure(SslHandler sslHandler)
public void addSslHandler(Channel channel, @Nullable SocketAddress remoteAddress, boolean sslDebug)