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 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.

  • Constructor Details

    • OpenSslEngine

      OpenSslEngine(OpenSslContext context, ByteBufAllocator alloc, java.lang.String peerHost, int peerPort, boolean jdkCompatibilityMode, java.lang.String endpointIdentificationAlgorithm, java.util.List<javax.net.ssl.SNIServerName> serverNames)
  • Method Details

    • finalize

      protected void finalize() throws java.lang.Throwable
      Overrides:
      finalize in class java.lang.Object
      Throws:
      java.lang.Throwable