gnutls_pkcs11_privkey_status(3)

πŸ’– gnutls_pkcs11_privkey_status(3) πŸ’–

okay bestie, so this one lives in the gnutls manual and it's literally the vibe check for your PKCS#11 private key. yes, the whole function is just "hey… are you still there??" and honestly? relatable. πŸ₯Ί


✨ NAME ✨

gnutls_pkcs11_privkey_status</purl> β€” it's an API function, no cap πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <gnutls/pkcs11.h>

unsigned gnutls_pkcs11_privkey_status(gnutls_pkcs11_privkey_t key);

like, that's the whole thing. she's small but she's doing her job. πŸ‘‘


πŸŽ€ ARGUMENTS πŸŽ€

  • gnutls_pkcs11_privkey_t key β€” this is the key in question, she holds the key (iconic of her tbh). 🌸

🌈 DESCRIPTION 🌈

Checks the status of the private key token. that's it, that's the plot. main character energy but make it a token availability check. ✨


⭐ RETURNS ⭐

this function will return non-zero if the token holding the private key is still available (inserted), and zero otherwise. so like… truthy = she's here, falsy = she ghosted you. 😭


πŸ•°οΈ SINCE πŸ•°οΈ

3.1.9 β€” an elder, a legend, been serving since forever. πŸ’œ


πŸ› REPORTING BUGS πŸ›

found a bug? not the vibe. 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. (fr fr, go off, just keep the receipts. 🧾)


πŸ‘€ 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, go read it, it's giving ✨educational✨. πŸ“


gnutls 3.8.13 β€” and that's the whole page bestie, gnutls_pkcs11_privkey_status(3) out. stay inserted. πŸ«ΆπŸ’–βœ¨

πŸ“¦ where this page comes from