Class OpenSslEngine
java.lang.Object
javax.net.ssl.SSLEngine
io.netty.handler.ssl.ReferenceCountedOpenSslEngine
io.netty.handler.ssl.OpenSslEngine
- All Implemented Interfaces:
ApplicationProtocolAccessor, ReferenceCounted
Implements a
SSLEngine using
OpenSSL BIO abstractions.
This class will use a finalizer to ensure native resources are automatically cleaned up. To avoid finalizers
and manually release the native memory see ReferenceCountedOpenSslEngine.
-
Field Summary
Fields inherited from class ReferenceCountedOpenSslEngine
alloc, jdkCompatibilityMode, MAX_PLAINTEXT_LENGTH, MAX_RECORD_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionOpenSslEngine(OpenSslContext context, ByteBufAllocator alloc, String peerHost, int peerPort, boolean jdkCompatibilityMode, String endpointIdentificationAlgorithm) -
Method Summary
Methods inherited from class ReferenceCountedOpenSslEngine
authMethods, beginHandshake, bioSetFd, calculateMaxLengthForWrap, calculateOutNetBufSize, checkSniHostnameMatch, closeInbound, closeOutbound, getApplicationProtocol, getDelegatedTask, getEnabledCipherSuites, getEnabledProtocols, getEnableSessionCreation, getHandshakeApplicationProtocol, getHandshakeSession, getHandshakeStatus, getNeedClientAuth, getNegotiatedApplicationProtocol, getOcspResponse, getSession, getSSLParameters, getSupportedCipherSuites, getSupportedProtocols, getUseClientMode, getWantClientAuth, initHandshakeException, isInboundDone, isOutboundDone, isSessionReused, masterKey, maxEncryptedPacketLength, maxEncryptedPacketLength0, maxWrapOverhead, refCnt, release, release, retain, retain, setEnabledCipherSuites, setEnabledProtocols, setEnableSessionCreation, setKeyMaterial, setNeedClientAuth, setOcspResponse, setSSLParameters, setUseClientMode, setVerify, setWantClientAuth, shutdown, sslPending, sslPointer, touch, touch, unwrap, unwrap, unwrap, unwrap, unwrap, wrap, wrapMethods inherited from class SSLEngine
getHandshakeApplicationProtocolSelector, getPeerHost, getPeerPort, setHandshakeApplicationProtocolSelector, wrap
-
Constructor Details
-
OpenSslEngine
OpenSslEngine(OpenSslContext context, ByteBufAllocator alloc, String peerHost, int peerPort, boolean jdkCompatibilityMode, String endpointIdentificationAlgorithm)
-
-
Method Details
-
finalize
-