Class NettySslUtils

java.lang.Object
nl.altindag.ssl.netty.util.NettySslUtils

public final class NettySslUtils extends Object
Author:
Hakan Altindag
  • Method Details

    • forClient

      public static io.netty.handler.ssl.SslContextBuilder forClient(SSLFactory sslFactory)
      Creates a basic Client SslContextBuilder with the available properties from SSLFactory. The returned object can be enriched with additional configuration for your needs
      Parameters:
      sslFactory - SSLFactory
      Returns:
      SslContextBuilder
    • forServer

      public static io.netty.handler.ssl.SslContextBuilder forServer(SSLFactory sslFactory)
      Creates a basic Server SslContextBuilder with the available properties from SSLFactory. The returned object can be enriched with additional configuration for your needs
      Parameters:
      sslFactory - SSLFactory
      Returns:
      SslContextBuilder