@Override
    public SSLEngine engineCreateSSLEngine() {
        if (sslParameters == null) {
            throw new IllegalStateException("SSLContext is not initialized.");
        }
        SSLParametersImpl p = (SSLParametersImpl) sslParameters.clone();
        p.setUseClientMode(false);
        return wrapEngine(new ConscryptEngine(p));
    }
Initializes this {@code SSLContext} instance. All of the arguments are
optional, and the security providers will be searched for the required
implementations of the needed algorithms.

@param kms the key sources or {@code null}
@param tms the trust decision sources or {@code null}
@param sr the randomness source or {@code null}
@throws KeyManagementException if initializing this instance fails
common/src/main/java/org/conscrypt/OpenSSLContextImpl.java