Interface SSLEngineFactory

All Superinterfaces:
SslFactory
All Known Implementing Classes:
SSLEngineFactoryImpl

public interface SSLEngineFactory extends SslFactory
Factory interface to create SSLEngine and get SSLSessionContext objects for Netty4 pipelines
  • Method Details

    • createSSLEngine

      SSLEngine createSSLEngine(io.netty.buffer.ByteBufAllocator alloc, String host, int port, boolean isServer)
    • createSSLEngine

      SSLEngine createSSLEngine(io.netty.buffer.ByteBufAllocator alloc, boolean isServer)
    • sessionContext

      SSLSessionContext sessionContext(boolean isServer)
    • context

      default io.netty.handler.ssl.SslContext context(boolean isServer)
      The default implementation for the anonymous classes below. :69
      Parameters:
      isServer - true for server SSL context.
      Returns:
      instance of SslContext
    • adaptSSLFactory

      static SSLEngineFactory adaptSSLFactory(SslFactory factory)