gnutls_sign_list(3)
π gnutls_sign_list β bestie's guide to the signature algorithm list π
okay so this is one of those little pages from the gnutls manual, section 3 (that's the library-functions girlies, not the commands ones), and honestly? she's short, she's sweet, she's a whole mood. let's get into it β¨
πΈ NAME πΈ
gnutls_sign_list β and yeah that's it, the original literally just says "API function", because this page is a single function and she knows her name already π
π¦ SYNOPSIS π¦
first things first, you gotta pull in the header, no cap:
#include <gnutls/gnutls.h>
and here's the whole function signature, copy it exactly bestie:
const gnutls_sign_algorithm_t * gnutls_sign_list( void);
like. that's it. no args, no drama. π
π ARGUMENTS π
voidβ literally nothing. she takes nothing. icon behaviour. she's the friend who shows up with zero baggage π«Ά
β¨ DESCRIPTION β¨
okay so what does she actually do? she gets you a list of supported public key signature algorithms. that's the whole thing. she hands you the list, you say thank you, everyone goes home happy π
β οΈ but listen β this function is not thread safe. fr fr. don't be out here calling her from five threads at once like it's a group project. the manpage says it, I'm saying it, we're all saying it together.
π RETURNS π
what you get back is a (0)-terminated list of gnutls_sign_algorithm_t integers indicating the available ciphers. yes, the original says "ciphers", I'm telling you exactly what it says, don't come for me π
so: walk the list until you hit that zero, and you're done. no malloc, no free, no takeout containers left in your car πβ¨
π REPORTING BUGS π
found a bug? tell the gnutls girlies directly:
- Report bugs to <bugs@gnutls.org>.
- Home page: https://www.gnutls.org
they wanna hear from you, I promise, it's giving community π
π COPYRIGHT π
Copyright Β© 2001-2023 Free Software Foundation, Inc., and others.
and the legal vibe is extremely generous, so here it is verbatim-ish: 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. so like. free real estate, just keep the receipts π§Ύπ
π₯ SEE ALSO π₯
the full documentation for gnutls is maintained as a Texinfo manual. so if the /usr/share/doc/gnutls/ directory does not contain the HTML form, go visit:
https://www.gnutls.org/manual/
that's the plug. iykyk πβ¨
and that's the whole page bestie, no notes, ate and left no crumbs π
signed, sealed, delivered by the gnutls manual, version 3.8.13 β this page is literally titled gnutls_sign_list(3) and it's yours now π¦β
π¦ 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