gnutls_pk_get_name(3)

πŸ’– gnutls_pk_get_name(3) πŸ’–

okay bestie, welcome to the gnutls manual, section 3 πŸŽ€ this one's a lil baby function but it's lowkey so useful, trust.


✨ NAME ✨

gnutls_pk_get_name β€” it's the API function, and it's literally just here to turn your public key algorithm into a cute lil string 🌸


🌈 SYNOPSIS 🌈

#include <gnutls/gnutls.h>

const char * gnutls_pk_get_name(gnutls_pk_algorithm_t algorithm);

πŸ¦‹ ARGUMENTS πŸ¦‹

  • gnutls_pk_algorithm_t algorithm β€” bestie this is a public key algorithm, like that's the whole vibe of it πŸ’…

πŸ‘‘ DESCRIPTION πŸ‘‘

so the way that this works is iconic actually: you hand it a gnutls_pk_algorithm_t value and it converts it to a string. that's it. that's the function. no cap ✨


⭐ RETURNS ⭐

it gives you back a pointer to a string that contains the name of the specified public key algorithm πŸ’–

or NULL. πŸ™ˆ yeah. could be NULL. that's the gamble bestie.


πŸŽ€ SINCE πŸŽ€

2.6.0 β€” so it's been around forever, an absolute elder, respect her 🫢


πŸ’€ REPORTING BUGS πŸ’€

found a bug? not me gatekeeping, go tell the devs fr fr:


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, it's free, go off πŸŽ‰)


πŸ”₯ 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 whole page babes 🌈 this was gnutls version 3.8.13, and the manual page is dated... well, the footer said gnutls_pk_get_name(3) down there, so that's the vibe πŸ’… mwah, go convert some algorithms βœ¨πŸ’–

πŸ“¦ where this page comes from