Class SslContextFactory
- java.lang.Object
-
- io.servicetalk.transport.netty.internal.SslContextFactory
-
public final class SslContextFactory extends java.lang.Object
A factory for creatingSslContext
s.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 Detail
-
forClient
public static io.netty.handler.ssl.SslContext forClient(ClientSslConfig config)
A new context for a client using the passedconfig
.- Parameters:
config
- SSL config.- Returns:
- A new
SslContext
for a client.
-
forServer
public static io.netty.handler.ssl.SslContext forServer(ServerSslConfig config)
A new context for a server using the passedconfig
.- Parameters:
config
- SSL config.- Returns:
- A new
SslContext
for a server.
-
-