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