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 Detail

      • createSSLEngine

        javax.net.ssl.SSLEngine createSSLEngine​(io.netty.buffer.ByteBufAllocator alloc,
                                                java.lang.String host,
                                                int port,
                                                boolean isServer)
      • createSSLEngine

        javax.net.ssl.SSLEngine createSSLEngine​(io.netty.buffer.ByteBufAllocator alloc,
                                                boolean isServer)
      • sessionContext

        javax.net.ssl.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