gnutls_pkcs11_delete_url(3)

πŸ’– gnutls_pkcs11_delete_url β€” the girlies' guide to yeeting objects off a token πŸ’–

okay so bestie, welcome to the gnutls manual page for gnutls_pkcs11_delete_url(3), aka the part of the gnutls fam that lets you delete stuff from your PKCS#11 token. it's giving spring cleaning energy. let's get into it 🧹✨


✨ NAME ✨

gnutls_pkcs11_delete_url β€” literally an API function, no cap 🫢


✨ SYNOPSIS ✨

#include <gnutls/pkcs11.h>

int gnutls_pkcs11_delete_url(const char * object_url, unsigned int
flags);

✨ ARGUMENTS ✨

  • const char * object_url β€” the URL of the object you wanna delete πŸ’… this is the address of the thing getting the boot.
  • unsigned int flags β€” one of the GNUTLS_PKCS11_OBJ_* flags. pick your fighter, there's a whole little family of them 🌸

✨ DESCRIPTION ✨

so this function will delete objects matching the given URL. like, it goes and finds everything that matches object_url and says bye πŸ‘‹

⚠️ but bestie, heads up β€” not all tokens support the delete operation. so if your token's not about that life, it's simply not gonna happen 😭

✨ RETURNS ✨

on success, it returns the number of objects deleted β€” yes, it tells you how many things it slayed πŸŽ€ otherwise you get a negative error value, which is the vibe check failing fr fr.


✨ SINCE ✨

2.12.0 β€” this one's been iconic for a minute πŸ‘‘


✨ REPORTING BUGS ✨

found a bug? spill the tea, not to me, to the devs:


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. we love a permissive license, 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, go visit:

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

that's the mothership, iykyk πŸ¦‹


gnutls 3.8.13, and this page is gnutls_pkcs11_delete_url(3) β€” that's a wrap bestie, go delete responsibly πŸ’–βœ¨πŸŽ€πŸ«Ά

πŸ“¦ where this page comes from