gnutls_pubkey_init(3)

✨ gnutls_pubkey_init ✨

okay bestie, welcome to the gnutls manual, section 3 πŸŽ€ β€” this one's a tiny lil function page but it's lowkey the glow-up moment for your public keys. iykyk πŸ’…


🌸 NAME 🌸

gnutls_pubkey_init β€” literally just an API function, no cap 🫢


🌈 SYNOPSIS 🌈

#include <gnutls/abstract.h>

int gnutls_pubkey_init(gnutls_pubkey_t * key);

like. that's the whole vibe. she's short, she's iconic, she's the beginning of everything ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • gnutls_pubkey_t * key β€” a pointer to the type that's about to get initialized πŸ’– it's giving "make me a public key please", and she delivers.

πŸ’œ DESCRIPTION πŸ’œ

so this function will initialize a public key. that's it. that's the whole thing. main character energy in four words πŸŽ€

think of it as setting up the lil container before you fill it with actual key material β€” the pre-game, the outfit change, the getting-ready montage 🧚 no cap.


⭐ RETURNS ⭐

  • on success, GNUTLS_E_SUCCESS (0) comes back to you like a lil "slay, we did it" πŸ’–
  • otherwise you get a negative error value 😭 (yes, negative, she's not happy with you, read the number)

πŸŽ€ SINCE πŸŽ€

2.12.0 β€” she's been here since way before you were cool, respectfully πŸ‘‘


πŸ› REPORTING BUGS πŸ›

found a bug? first of all, so valid. report it to <bugs@gnutls.org> 🫢

home page: https://www.gnutls.org


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. periodt. πŸ’–


πŸ”₯ SEE ALSO πŸ”₯

the full documentation for gnutls is maintained as a Texinfo manual β€” yes bestie, a whole manual, not just this snack of a page πŸ“š

if the /usr/share/doc/gnutls/ directory does not contain the HTML form, go visit:

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

✨ reminder bestie: keep every flag, path and version exactly as written β€” vibes are flexible, facts are not πŸ’…

mwah πŸ’‹ that's the page β€” this was gnutls 3.8.13, the gnutls_pubkey_init(3) manual, and she ate, no crumbs. bye pookie πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from