public final class SslProvider extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
SslProvider.Builder |
static interface |
SslProvider.GenericSslContextSpec<B>
Generic SslContext builder that provides, specific for the protocol, default configuration.
|
static interface |
SslProvider.GenericSslContextSpecWithSniSupport<B> |
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) |
List<SNIServerName> |
getServerNames() |
SslContext |
getSslContext()
Returns
SslContext instance with configured settings. |
int |
hashCode() |
String |
toString() |
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.public static SslProvider defaultClientProvider()
public SslContext getSslContext()
SslContext
instance with configured settings.SslContext
instance with configured settings.@Incubating @Nullable public List<SNIServerName> getServerNames()
public void configure(SslHandler sslHandler)
public void addSslHandler(Channel channel, @Nullable SocketAddress remoteAddress, boolean sslDebug)