gnutls_pk_algorithm_get_name(3)

πŸ’– gnutls_pk_algorithm_get_name β€” the manual page, bestie edition πŸ’–

okay so this one lives in the gnutls manual (that's the manual name, keep it in your notes πŸ“) and it's literally the cutest little lookup function in the whole library. she takes a public key algorithm and hands you back its name as a string. no cap.


✨ NAME ✨

gnutls_pk_algorithm_get_name β€” API function πŸŽ€


🌸 SYNOPSIS 🌸

#include <gnutls/gnutls.h>

const char * gnutls_pk_algorithm_get_name(gnutls_pk_algorithm_t
algorithm);

πŸ¦‹ ARGUMENTS πŸ¦‹

  • gnutls_pk_algorithm_t algorithm β€” is a pk algorithm πŸ’… (yes that's the whole description, she's lowkey unbothered)

πŸ’œ DESCRIPTION πŸ’œ

Convert a gnutls_pk_algorithm_t value to a string. that's it. that's the whole vibe. you give her the enum, she gives you the name. iconic behaviour honestly ✨


πŸ‘‘ RETURNS πŸ‘‘

a string that contains the name of the specified public key algorithm, or NULL. 🫢

ngl bestie, watch out for that NULL β€” she will absolutely hand you a NULL and walk away, so check before you print it πŸ™ˆ

😭 REPORTING BUGS 😭

found a bug? don't suffer in silence, tell the people:


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 visit

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


and that's the whole page, bestie, you ate that πŸ’…βœ¨

signing off from the gnutls manual, version 3.8.13, on the page gnutls_pk_algorithm_get_name(3) β€” go forth and name those public key algorithms, main character πŸ¦‹πŸ’–

πŸ“¦ where this page comes from