Class JdkSslContext

java.lang.Object
org.jboss.netty.handler.ssl.SslContext
org.jboss.netty.handler.ssl.JdkSslContext
Direct Known Subclasses:
JdkSslClientContext, JdkSslServerContext

public abstract class JdkSslContext extends SslContext
An SslContext which uses JDK's SSL/TLS implementation.
  • Method Details

    • context

      public abstract SSLContext context()
      Returns the JDK SSLContext object held by this context.
    • sessionContext

      public final SSLSessionContext sessionContext()
      Returns the JDK SSLSessionContext object held by this context.
    • cipherSuites

      public final List<String> cipherSuites()
      Description copied from class: SslContext
      Returns the list of enabled cipher suites, in the order of preference.
      Specified by:
      cipherSuites in class SslContext
    • sessionCacheSize

      public final long sessionCacheSize()
      Description copied from class: SslContext
      Returns the size of the cache used for storing SSL session objects.
      Specified by:
      sessionCacheSize in class SslContext
    • sessionTimeout

      public final long sessionTimeout()
      Description copied from class: SslContext
      Returns the timeout for the cached SSL session objects, in seconds.
      Specified by:
      sessionTimeout in class SslContext
    • newEngine

      public final SSLEngine newEngine()
      Description copied from class: SslContext
      Creates a new SSLEngine.
      Specified by:
      newEngine in class SslContext
      Returns:
      a new SSLEngine
    • newEngine

      public final SSLEngine newEngine(String peerHost, int peerPort)
      Description copied from class: SslContext
      Creates a new SSLEngine using advisory peer information.
      Specified by:
      newEngine in class SslContext
      Parameters:
      peerHost - the non-authoritative name of the host
      peerPort - the non-authoritative port
      Returns:
      a new SSLEngine