gnutls_system_key_delete(3)
π gnutls_system_key_delete β bestie's guide to yeeting a key pair π
okay so this is from the gnutls manual, and we're talking about gnutls_system_key_delete (that's the (3) section btw, library functions, iykyk). buckle up, it's short but it's iconic π
β¨ NAME β¨
gnutls_system_key_delete β an API function π
πΈ SYNOPSIS πΈ
#include <gnutls/system-keys.h>
int gnutls_system_key_delete(const char * cert_url, const char *
key_url);
no cap, that's the whole thing. she's petite π¦
π«Ά ARGUMENTS π«Ά
const char * cert_urlβ the URL of the certificate πconst char * key_urlβ the URL of the key π
both of them are const char *, both of them are URLs, and yes bestie you need both. the certificate AND the key. they're a package deal fr fr π
π DESCRIPTION π
This function will delete the key and certificate pair.
that's it. that's the whole description. it literally just deletes the pair. the key, the certificate, gone. poof. πβ¨
β RETURNS β
On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error value.
so 0 means slay, negative means something went wrong and you should go read your error handling code. not me ignoring return valuesβ¦ π
π SINCE π
3.4.0
she's been around since 3.4.0, so she's an elder in gnutls years but still serving π
π REPORTING BUGS π
Report bugs to <bugs@gnutls.org>.
Home page: https://www.gnutls.org
if something's broken, tell the gnutls girlies at that email, and the home page is right there if you wanna vibe check the project π«Ά
π 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.
translation: you can copy and share this file however you want, no royalty needed, just keep the copyright notice and this notice intact. periodt π
π₯ 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/
like, check your local /usr/share/doc/gnutls/ first, and if the HTML form isn't chilling in there, the manual link above has you covered πΈ
lowkey the whole page is just "delete the pair, return 0 on success, negative on fail" and honestly? we love an efficient queen π
that's the vibe check bestie, hope this helped πβ¨π¦ β this was the gnutls manual page for gnutls_system_key_delete, version 3.8.13. mwah, go delete some keys responsibly ππ
π¦ 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