gnutls_pk_list(3)
π gnutls_pk_list(3) β the gnutls manual, bestie edition π
okay so real talk, this page lives in the gnutls manual and it's literally called gnutls_pk_list. that's the whole name. we move.
β¨ SYNOPSIS β¨
#include <gnutls/gnutls.h>
const gnutls_pk_algorithm_t * gnutls_pk_list( void);
like, that's it. that's the whole vibe. no arguments, just vibes and a return value π«Ά
π ARGUMENTS π
voidβ yeah bestie, there are no arguments. nothing. zero. the void. it takes nothing and it gives you a whole list, iconic behaviour honestly π
πΈ DESCRIPTION πΈ
okay so what does this do? it gets you a list of supported public key algorithms. that's it, that's the job. you call it, it hands you the roster of everything gnutls can do public-key-wise. π
β οΈ but bestie. listen. This function is not thread safe. not me calling this from multiple threads π don't do it. keep it to one thread or lock around it, fr fr.
β RETURNS β
you get back a (0)-terminated list of gnutls_pk_algorithm_t integers, and those integers are the ones indicating the available ciphers. so like, walk the array until you hit that zero and you're done. π¦
π§ SINCE π§
2.6.0 β she's been here since 2.6.0, a legend, a veteran, we stan a consistent API π
π REPORTING BUGS π
found a bug? don't suffer in silence, tell the people:
- 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. so like, use it, share it, 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/
and that's the page, bestie!! gnutls version 3.8.13, page gnutls_pk_list(3), brought to you with love and zero thread safety πβ¨ mwah, go forth and list your public key algorithms π¦
π¦ 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