public final class ReferenceCountedOpenSslServerContext extends ReferenceCountedOpenSslContext
SslContext
,使用OpenSSL的SSL / TLS实现。
这个类的实例必须是released
,否则本机内存将会泄漏!
在任何取决于这个类的实例的ReferenceCountedOpenSslEngine
被释放之前,这个类的实例不能被释放。 否则,如果调用ReferenceCountedOpenSslEngine
的任何方法使用此类的JNI资源,那么JVM可能会崩溃。
ctx, VERIFY_DEPTH
Modifier and Type | Method and Description |
---|---|
OpenSslServerSessionContext |
sessionContext()
返回此上下文拥有的
SSLSessionContext 对象。
|
applicationProtocolNegotiator, certificates, chooseTrustManager, chooseX509KeyManager, cipherSuites, context, getBioNonApplicationBufferSize, getRejectRemoteInitiatedRenegotiation, isClient, newEngine, newEngine, newHandler, newHandler, 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 OpenSslServerSessionContext sessionContext()
SslContext
SSLSessionContext
对象。
sessionContext
在课堂上
ReferenceCountedOpenSslContext
Copyright © 2008–2018 The Netty Project. All rights reserved.