Class SslContextFactory
java.lang.Object
io.servicetalk.transport.netty.internal.SslContextFactory
A factory for creating
SslContext
s.-
Method Summary
Modifier and TypeMethodDescriptionstatic io.netty.handler.ssl.SslContext
forClient
(ClientSslConfig config) A new context for a client using the passedconfig
.static io.netty.handler.ssl.SslContext
forServer
(ServerSslConfig config) A new context for a server using the passedconfig
.
-
Method Details
-
forClient
A new context for a client using the passedconfig
.- Parameters:
config
- SSL config.- Returns:
- A new
SslContext
for a client.
-
forServer
A new context for a server using the passedconfig
.- Parameters:
config
- SSL config.- Returns:
- A new
SslContext
for a server.
-