@Override
    public void engineInit(KeyManager[] kms, TrustManager[] tms, SecureRandom sr)
            throws KeyManagementException {
        sslParameters = new SSLParametersImpl(
                kms, tms, sr, clientSessionContext, serverSessionContext, protocols);
    }
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