- java.lang.Object
-
- io.netty5.handler.ssl.SslContext
-
- io.netty5.handler.ssl.ReferenceCountedOpenSslContext
-
- io.netty5.handler.ssl.ReferenceCountedOpenSslServerContext
-
- All Implemented Interfaces:
ReferenceCounted
public final class ReferenceCountedOpenSslServerContext extends ReferenceCountedOpenSslContext
A server-sideSslContext
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 ofReferenceCountedOpenSslEngine
is called which uses this class's JNI resources the JVM may crash.
-
-
Field Summary
-
Fields inherited from class io.netty5.handler.ssl.ReferenceCountedOpenSslContext
ctx, VERIFY_DEPTH
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OpenSslServerSessionContext
sessionContext()
Returns theSSLSessionContext
object held by this context.-
Methods inherited from class io.netty5.handler.ssl.ReferenceCountedOpenSslContext
applicationProtocolNegotiator, 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.SslContext
attributes, 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
-
sessionContext
public OpenSslServerSessionContext sessionContext()
Description copied from class:SslContext
Returns theSSLSessionContext
object held by this context.- Specified by:
sessionContext
in classReferenceCountedOpenSslContext
-
-