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