Class ReferenceCountedOpenSslContext.CompressionAlgorithm

  • All Implemented Interfaces:
    io.netty.internal.tcnative.CertificateCompressionAlgo
    Enclosing class:
    ReferenceCountedOpenSslContext

    private static final class ReferenceCountedOpenSslContext.CompressionAlgorithm
    extends java.lang.Object
    implements io.netty.internal.tcnative.CertificateCompressionAlgo
    • Method Detail

      • compress

        public byte[] compress​(long ssl,
                               byte[] bytes)
                        throws java.lang.Exception
        Specified by:
        compress in interface io.netty.internal.tcnative.CertificateCompressionAlgo
        Throws:
        java.lang.Exception
      • decompress

        public byte[] decompress​(long ssl,
                                 int len,
                                 byte[] bytes)
                          throws java.lang.Exception
        Specified by:
        decompress in interface io.netty.internal.tcnative.CertificateCompressionAlgo
        Throws:
        java.lang.Exception
      • algorithmId

        public int algorithmId()
        Specified by:
        algorithmId in interface io.netty.internal.tcnative.CertificateCompressionAlgo