gnutls_compres...selected_method(3)
π gnutls_compress_certificate_get_selected_method β the vibe check on your cert compression β¨
okay bestie, so this page is part of the gnutls manual, and it's literally about asking a TLS session "hey, which certificate compression method did we end up going with?" π
β¨ NAME β¨
gnutls_compress_certificate_get_selected_method β an API function, and yes it does exactly what the name says, no cap π
π¦ SYNOPSIS π¦
#include <gnutls/gnutls.h>
gnutls_compression_method_t
gnutls_compress_certificate_get_selected_method(gnutls_session_t
session);
likeβ¦ look at that signature. it's giving clean. it takes a session, it hands you back a compression method. periodt πΈ
π ARGUMENTS π
gnutls_session_t sessionβ bestie this is agnutls_session_ttype. that's the whole thing. that's the argument. iconic of it honestly π
π DESCRIPTION π
okay so here's the tea β
This function returns the certificate compression method that has been selected to compress the certificate before sending it to the peer. π₯
and how did we get there? The selection is done based on two things, fr fr:
- the local list of supported compression methods, and
- the peer's requested compression methods π«Ά
so basically it's a little negotiation moment between you and the other side, and this function tells you who won. main character energy π
β RETURNS β
selected certificate compression method. that's it, that's the return value π
Since 3.7.4 β so if you're on something ancient, bestie, this is not for you π
π REPORTING BUGS π
found something cursed? don't just scream about it in the group chat β Report bugs to <bugs@gnutls.org>. π§
Home page: https://www.gnutls.org π
π COPYRIGHT π
Copyright Β© 2001-2023 Free Software Foundation, Inc., and others. π
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. (translation: go off, just keep the receipts π§Ύβ¨)
πΈ SEE ALSO πΈ
The full documentation for gnutls is maintained as a Texinfo manual. If the /usr/share/doc/gnutls/ directory does not contain the HTML form visit
https://www.gnutls.org/manual/
like, the docs are right there, bestie, go read them, iykyk ππ
this has been your girl, signing off on thegnutlsmanual, version3.8.13π¦ stay compressed, stay cute, and remember: the peer's requested methods are only a suggestion, the local list is the law πβ¨π
π¦ where this page comes from
- alpine 3.22: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.23: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.24: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- arch rolling: gnutls 3.8.13-3 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- ubuntu stonking: gnutls-doc 3.8.13-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms