Closed martinthomson closed 1 year ago
RFC 8879 handles the length prefix and compression algorithm negotiation. For the individual compression algorithms, it just points to specs like RFC 8478 (ZStandard) which aren't aware of any of the TLS packaging. So I think the natural thing to do here is just define the compression algorithm as 8478 does and leave the bookkeeping to 8879.
If the specified compression algorithm is zstd, the Certificate message MUST be compressed with the Zstandard compression algorithm, as defined in RFC8478
RFC 8879 includes a length prefix so that the recipient doesn't have to commit unbounded memory for certificates. Is that the goal here also? It might be good to say.