- java.lang.Object
- 
- io.netty5.handler.ssl.SslContext
- 
- io.netty5.handler.ssl.ReferenceCountedOpenSslContext
- 
- io.netty5.handler.ssl.ReferenceCountedOpenSslClientContext
 
 
 
- 
- All Implemented Interfaces:
- ReferenceCounted
 
 public final class ReferenceCountedOpenSslClientContext extends ReferenceCountedOpenSslContext A client-sideSslContextwhich uses OpenSSL's SSL/TLS implementation.Instances of this class must be releasedor else native memory will leak!Instances of this class must not be released before any ReferenceCountedOpenSslEnginewhich depends upon the instance of this class is released. Otherwise if any method ofReferenceCountedOpenSslEngineis called which uses this class's JNI resources the JVM may crash.
- 
- 
Field Summary- 
Fields inherited from class io.netty5.handler.ssl.ReferenceCountedOpenSslContextctx, VERIFY_DEPTH
 
- 
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenSslSessionContextsessionContext()Returns theSSLSessionContextobject held by this context.- 
Methods inherited from class io.netty5.handler.ssl.ReferenceCountedOpenSslContextapplicationProtocolNegotiator, certificates, chooseTrustManager, chooseX509KeyManager, cipherSuites, context, getBioNonApplicationBufferSize, getRejectRemoteInitiatedRenegotiation, isClient, newEngine, newEngine, newHandler, newHandler, newHandler, newHandler, refCnt, release, release, retain, retain, setBioNonApplicationBufferSize, setPrivateKeyMethod, setRejectRemoteInitiatedRenegotiation, setTicketKeys, setUseTasks, sslCtxPointer, stats, touch, touch
 - 
Methods inherited from class io.netty5.handler.ssl.SslContextattributes, buildKeyManagerFactory, buildKeyStore, buildTrustManagerFactory, buildTrustManagerFactory, buildTrustManagerFactory, defaultClientProvider, defaultServerProvider, generateKeySpec, isServer, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newClientContext, newHandler, newHandler, newHandler, newHandler, newServerContext, newServerContext, newServerContext, newServerContext, newServerContext, newServerContext, newServerContext, newServerContext, newServerContext, newServerContext, nextProtocols, sessionCacheSize, sessionTimeout, toPrivateKey, toPrivateKey, toX509Certificates, toX509Certificates
 
- 
 
- 
- 
- 
Method Detail- 
sessionContextpublic OpenSslSessionContext sessionContext() Description copied from class:SslContextReturns theSSLSessionContextobject held by this context.- Specified by:
- sessionContextin class- ReferenceCountedOpenSslContext
 
 
- 
 
-