gnutls_certificate_free_keys(3)

πŸ’– gnutls_certificate_free_keys(3) πŸ’–

okay bestie, welcome to the gnutls manual, page gnutls_certificate_free_keys(3). this one's short and sweet and honestly kinda iconic for it. let's get into it 🫢


✨ NAME ✨

gnutls_certificate_free_keys β€” it's an API function, periodt.


🌸 SYNOPSIS 🌸

#include <gnutls/gnutls.h>

void gnutls_certificate_free_keys(gnutls_certificate_credentials_t sc);

like, that's the whole thing. no return value. it just does the thing πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • gnutls_certificate_credentials_t sc β€” bestie, this is a gnutls_certificate_credentials_t type. that's it, that's the arg.

πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea β˜• β€” this function deletes all the keys and the certificates that are associated with the given credentials. all of them. gone. poof ✨

⚠️ but listen, this is the important part: you must not call this while a TLS negotiation that uses those credentials is in progress. like, do not. that's a no-no. the vibe check will fail so hard 😭

πŸ™ˆ REPORTING BUGS πŸ™ˆ

found a bug? spill it, not me tho β€” report bugs to <bugs@gnutls.org>. πŸ“§

home page is right here: https://www.gnutls.org 🏠


Copyright Β© 2001-2023 Free Software Foundation, Inc., and others. πŸ’œ

and the legal bit, which we respect fr fr: 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, honestly 🌈


πŸ”₯ 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, go visit πŸ‘‡

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


and that's the whole page, bestie!! πŸ“ this was gnutls 3.8.13, page gnutls_certificate_free_keys(3), and yes the manual name is literally just gnutls bc that's the family πŸ’– mwah, go free those keys responsibly πŸ’…βœ¨

πŸ“¦ where this page comes from