Class SslContextFactory
- java.lang.Object
-
- io.servicetalk.transport.netty.internal.SslContextFactory
-
public final class SslContextFactory extends java.lang.ObjectA factory for creatingSslContexts.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.netty.handler.ssl.SslContextforClient(ClientSslConfig config)A new context for a client using the passedconfig.static io.netty.handler.ssl.SslContextforServer(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
SslContextfor 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
SslContextfor a server.
-
-