public final class ReferenceCountedOpenSslClientContext extends ReferenceCountedOpenSslContext
SslContext
which uses OpenSSL's SSL/TLS implementation.
Instances of this class must be released
or else native memory will leak!
Instances of this class must not be released before any ReferenceCountedOpenSslEngine
which depends upon the instance of this class is released. Otherwise if any method of
ReferenceCountedOpenSslEngine
is called which uses this class's JNI resources the JVM may crash.
ctx, VERIFY_DEPTH
Modifier and Type | Method and Description |
---|---|
OpenSslSessionContext |
sessionContext()
Returns the
SSLSessionContext object held by this context. |
applicationProtocolNegotiator, certificates, chooseTrustManager, chooseX509KeyManager, cipherSuites, context, getBioNonApplicationBufferSize, getRejectRemoteInitiatedRenegotiation, isClient, newEngine, newEngine, refCnt, release, release, retain, retain, sessionCacheSize, sessionTimeout, setBioNonApplicationBufferSize, setRejectRemoteInitiatedRenegotiation, setTicketKeys, sslCtxPointer, stats, touch, touch
buildTrustManagerFactory, defaultClientProvider, defaultServerProvider, generateKeySpec, isServer, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newHandler, newHandler, newServerContext, newServerContext, newServerContext, newServerContext, newServerContext, newServerContext, newServerContext, newServerContext, newServerContext, newServerContext, nextProtocols
public OpenSslSessionContext sessionContext()
SslContext
SSLSessionContext
object held by this context.sessionContext
in class ReferenceCountedOpenSslContext
Copyright © 2008–2017 The Netty Project. All rights reserved.