Interface SslClientConnectionFactory.SslEngineFactory

Enclosing class:
SslClientConnectionFactory

public static interface SslClientConnectionFactory.SslEngineFactory

A factory for SSLEngine objects.

Typically implemented by SslContextFactory.Client to support more flexible creation of SSLEngine instances.

  • Method Summary

    Modifier and Type
    Method
    Description
    newSslEngine(String host, int port, Map<String,Object> context)
    Creates a new SSLEngine instance for the given peer host and port, and with the given context to help the creation of the SSLEngine.
  • Method Details

    • newSslEngine

      SSLEngine newSslEngine(String host, int port, Map<String,Object> context)

      Creates a new SSLEngine instance for the given peer host and port, and with the given context to help the creation of the SSLEngine.

      Parameters:
      host - the peer host
      port - the peer port
      context - the ClientConnectionFactory context
      Returns:
      a new SSLEngine instance