public static interface SslProvider.ProtocolSslContextSpec
| Modifier and Type | Method and Description |
|---|---|
SslProvider.ProtocolSslContextSpec |
configure(java.util.function.Consumer<SslContextBuilder> sslCtxBuilder)
Configures the underlying
SslContextBuilder. |
SslContext |
sslContext()
Create a new
SslContext instance with the configured settings. |
SslProvider.ProtocolSslContextSpec configure(java.util.function.Consumer<SslContextBuilder> sslCtxBuilder)
SslContextBuilder.sslCtxBuilder - a callback for configuring the underlying SslContextBuilderthisSslContext sslContext() throws SSLException
SslContext instance with the configured settings.SslContext instanceSSLException - thrown when SslContext instance cannot be created