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