long newSsl() throws SSLException {
        lock.readLock().lock();
        try {
            if (isValid()) {
                return NativeCrypto.SSL_new(sslCtxNativePointer, this);
            } else {
                throw new SSLException("Invalid session context");
            }
        } finally {
            lock.readLock().unlock();
        }
    }
Returns a native pointer to a new SSL object in this SSL_CTX.
common/src/main/java/org/conscrypt/AbstractSessionContext.java