/**
  * Returns the factory for client SSL sockets.
  *
  * @return The factory for client SSL sockets.
  */
 public final SSLSocketFactory getSocketFactory() {
   return ctxSpi.engineGetSocketFactory();
 }
 /**
  * Initializes this context and prepares it for producing socket factories. All of the parameters
  * are optional; default values are used if left unspecified.
  *
  * @param keyManagers The set of key managers to use.
  * @param trustManagers The set of trust managers to use.
  * @param random A source of random bits to use.
  * @throws KeyManagementException If initialization fails.
  */
 public final void init(
     KeyManager[] keyManagers, TrustManager[] trustManagers, SecureRandom random)
     throws KeyManagementException {
   ctxSpi.engineInit(keyManagers, trustManagers, random);
 }
 /**
  * Returns the set of SSL contexts available for server connections.
  *
  * @return The set of SSL contexts available for server connections.
  */
 public final SSLSessionContext getServerSessionContext() {
   return ctxSpi.engineGetServerSessionContext();
 }