Package org.conscrypt

Class DefaultSSLContextImpl


public final class DefaultSSLContextImpl
extends OpenSSLContextImpl
Support class for this package.
  • Constructor Details

    • DefaultSSLContextImpl

      public DefaultSSLContextImpl() throws GeneralSecurityException, IOException
      DefaultSSLContextImpl delegates the work to the super class since there is no way to put a synchronized around both the call to super and the rest of this constructor to guarantee that we don't have races in creating the state shared between all default SSLContexts.
      Throws:
      GeneralSecurityException
      IOException
  • Method Details

    • engineInit

      public void engineInit​(KeyManager[] kms, TrustManager[] tms, SecureRandom sr) throws KeyManagementException
      Description copied from class: SSLContextImpl
      Initializes this SSLContext instance. All of the arguments are optional, and the security providers will be searched for the required implementations of the needed algorithms.
      Overrides:
      engineInit in class SSLContextImpl
      Parameters:
      kms - the key sources or null
      tms - the trust decision sources or null
      sr - the randomness source or null
      Throws:
      KeyManagementException - if initializing this instance fails