gnutls_compress_certificate_set_methods - Linux
Overview
gnutls_compress_certificate_set_methods
configures a certificate compression algorithm list, overriding the default settings. Certificate compression can be used to reduce the size of certificates sent over the network.
Syntax
gnutls_compress_certificate_set_methods(certificate_compression_list)
| Parameter | Description |
|—|—|
| certificate_compression_list
| A list of certificate compression methods. The order of the methods in the list determines their priority. |
Options/Flags
| Option | Default | Description |
|—|—|—|
| None | – | There are no customizable options or flags. |
Examples
To enable certificate compression with the "DEFLATE" algorithm:
gnutls_compress_certificate_set_methods("DEFLATE")
To configure a list of preferred methods, with "DEFLATE" given highest priority:
gnutls_compress_certificate_set_methods("DEFLATE,ZLIB")
Common Issues
None reported.
Integration
gnutls_compress_certificate_set_methods
can be combined with other GnuTLS functions to configure TLS/SSL connections.
Related Commands
- [gnutls_compression_set_methods] – Configures compression algorithms for application data.