Package io.netty.handler.ssl
Class OpenSslEngine
- java.lang.Object
-
- javax.net.ssl.SSLEngine
-
- io.netty.handler.ssl.ReferenceCountedOpenSslEngine
-
- io.netty.handler.ssl.OpenSslEngine
-
- All Implemented Interfaces:
ApplicationProtocolAccessor
,ReferenceCounted
public final class OpenSslEngine extends ReferenceCountedOpenSslEngine
Implements aSSLEngine
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 io.netty.handler.ssl.ReferenceCountedOpenSslEngine
alloc, jdkCompatibilityMode, MAX_PLAINTEXT_LENGTH, MAX_RECORD_SIZE
-
-
Constructor Summary
Constructors Constructor Description OpenSslEngine(OpenSslContext context, ByteBufAllocator alloc, java.lang.String peerHost, int peerPort, boolean jdkCompatibilityMode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
finalize()
-
Methods inherited from class io.netty.handler.ssl.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, setSessionId, setSSLParameters, setUseClientMode, setVerify, setWantClientAuth, shutdown, sslPending, sslPointer, touch, touch, unwrap, unwrap, unwrap, unwrap, unwrap, wrap, wrap
-
-
-
-
Constructor Detail
-
OpenSslEngine
OpenSslEngine(OpenSslContext context, ByteBufAllocator alloc, java.lang.String peerHost, int peerPort, boolean jdkCompatibilityMode)
-
-