gnutls_kx_list(3)

✨ gnutls_kx_list ✨

okay bestie, so this is a page from the gnutls manual β€” it's gnutls_kx_list(3), and yeah it's technically filed under "API function" in the NAME section, but like... it's the lil function that hands you the whole roster of key exchange algorithms. πŸŽ€


🌸 SYNOPSIS 🌸

#include <gnutls/gnutls.h>

const gnutls_kx_algorithm_t * gnutls_kx_list( void);

πŸ¦‹ ARGUMENTS πŸ¦‹

  • void β€” literally nothing. no args. she takes zero input and she's thriving. πŸ’…

πŸ’– DESCRIPTION πŸ’–

okay so basically: this function gets you a list of the supported key exchange algorithms. that's the whole vibe. it's your lil directory of what key exchanges this gnutls can do. 🌈

⚠️ not me being the bearer of bad news but β€” this function is not thread safe. so like, do NOT go calling it from a bunch of threads at once, bestie. that's not the move. πŸ™ˆ

⭐ RETURNS ⭐

she gives you back a (0)-terminated list of gnutls_kx_algorithm_t integers, and those integers indicate the available key exchange algorithms. so you read it until you hit that zero and then you stop, okay? periodt. πŸ‘‘


πŸ’€ REPORTING BUGS πŸ’€

found a bug? first of all, relatable, second of all β€” report it to <bugs@gnutls.org>.

home page is right here: https://www.gnutls.org


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. ✨


🧚 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, then bestie you gotta go visit:

https://www.gnutls.org/manual/


okay that's the whole page, mwah πŸ’‹ β€” this was gnutls 3.8.13, the gnutls project's own gnutls_kx_list(3), so go forth and list those key exchange algorithms, you absolute icon 🫢🌸

πŸ“¦ where this page comes from