Class SslContextFactory

java.lang.Object
io.servicetalk.transport.netty.internal.SslContextFactory

public final class SslContextFactory extends Object
A factory for creating SslContexts.
  • Method Details

    • forClient

      public static io.netty.handler.ssl.SslContext forClient(ClientSslConfig config)
      A new context for a client using the passed config.
      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 passed config.
      Parameters:
      config - SSL config.
      Returns:
      A new SslContext for a server.