Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在寻找一个RFC8879实现,发现 BoringSSL 已经实现了。
但是我还没有找到如何启用此功能,因为默认情况下证书未压缩,并且 BoringSSL 的 TLS 客户端中没有用于该功能的参数。
有没有人已经使用过这个并且可以给我一些帮助?
SSL_CTX_add_cert_compression_alg(SSL_CTX *ctx, uint16_t alg_id, bssl::CertCompressFunc compress, bssl::CertDecompressFunc decompress)
您需要为每个算法设置一对回调。ZLIB 具有索引 1、BROTLI 2、ZSTD 3。