gnutls_cipher_list(3)
π NAME π
gnutls_cipher_list β bestie, this is the lil API function that hands you the whole guest list of ciphers π
β¨ SYNOPSIS β¨
#include <gnutls/gnutls.h>
const gnutls_cipher_algorithm_t * gnutls_cipher_list( void);
π ARGUMENTS π
voidβ literally nothing, she takes no arguments, she's low maintenance like that π«Ά
πΈ DESCRIPTION πΈ
Okay so gnutls_cipher_list() gets you a list of supported cipher algorithms. That's it, that's the vibe. π
But wait β not necessarily all ciphers are supported as TLS cipher suites. Like, some of them are just here for other reasons, doing side quests. For example, DES is not supported as a cipher suite, but it is supported for other purposes (e.g., PKCS8 or similar). So don't come for her, she's valid, just not in that context. π
π¨ Heads up bestie: this function is not thread safe. So don't be calling her from a bunch of threads at once, she cannot handle that kind of drama. π
π¦ RETURNS π¦
A (0)-terminated list of gnutls_cipher_algorithm_t integers indicating the available ciphers. Yes queen, it's null-terminated, so you just walk it till you hit that zero. Periodt. β
π REPORTING BUGS π
Found a bug? Tell the girlies at <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. π (slay, that's the whole license, no cap)
π 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/
okay that's the whole page bestie, mwah π β this was the gnutls manual, gnutls_cipher_list(3), version 3.8.13. go forth and enumerate those ciphers, you got this π§β¨
π¦ 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