Interface OpenSSLContextFactory

    • Field Detail

      • log

        static final Logger log
    • Method Detail

      • clearSslContexts

        default void clearSslContexts()
        Release any cached SslContext instances.
      • getClientSslContext

        io.netty.handler.ssl.SslContext getClientSslContext​(SSLContextConfig config,
                                                            Map<String,​Object> additionalOpts)
                                                     throws Exception
        Parameters:
        additionalOpts - implementation specific additional options.
        Returns:
        an SslContext instance for the given configuration.
        Throws:
        Exception
      • getServerSslContext

        io.netty.handler.ssl.SslContext getServerSslContext​(SSLContextConfig config,
                                                            Map<String,​Object> additionalOpts)
                                                     throws Exception
        Parameters:
        additionalOpts - implementation specific additional options.
        Returns:
        an SslContext instance for the given configuration.
        Throws:
        Exception
      • getPriority

        int getPriority()
        The priority for the OpenSSLContextFactory when resolving the service to get the implementation. This is used when selecting the implementation when several implementations are loaded. The highest priority implementation will be used.