Module rustls::compress

source ·
Expand description

Certificate compression and decompression support

This crate supports compression and decompression everywhere certificates are used, in accordance with RFC8879.

Note that this is only supported for TLS1.3 connections.

§Getting started

Build this crate with the brotli and/or zlib crate features. This adds dependencies on these crates. They are used by default if enabled.

We especially recommend brotli as it has the widest deployment so far.

§Custom compression/decompression implementations

  1. Implement the CertCompressor and/or CertDecompressor traits
  2. Provide those to:

These are used in these circumstances:

Structs§

Enums§

Traits§

Functions§