Class DefaultSslContext


  • public class DefaultSslContext
    extends javax.net.ssl.SSLContext
    Default SSL context that delegates calls to WrapperSslContextSpi
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      private static WrapperSslContextSpi createContextSpi​(DefaultSslContextFactory contextFactory, javax.net.ssl.SSLContext wrappedContext)
      Creates a SSL context SPI capable or setting additional properties on the created SSL engines and socket factories.
      • Methods inherited from class javax.net.ssl.SSLContext

        createSSLEngine, createSSLEngine, getClientSessionContext, getDefault, getDefaultSSLParameters, getInstance, getInstance, getInstance, getProtocol, getProvider, getServerSessionContext, getServerSocketFactory, getSocketFactory, getSupportedSSLParameters, init, setDefault
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultSslContext

        public DefaultSslContext​(DefaultSslContextFactory contextFactory,
                                 javax.net.ssl.SSLContext wrappedContext)
        Constructor.
        Parameters:
        contextFactory - The parent SSL context factory.
        wrappedContext - The wrapped SSL context.
    • Method Detail

      • createContextSpi

        private static WrapperSslContextSpi createContextSpi​(DefaultSslContextFactory contextFactory,
                                                             javax.net.ssl.SSLContext wrappedContext)
        Creates a SSL context SPI capable or setting additional properties on the created SSL engines and socket factories.
        Parameters:
        contextFactory - The parent SSL context factory.
        wrappedContext - The wrapped SSL context.
        Returns:
        The created SSL context SPI.