gnutls_pkcs11_get_pin_function(3)

πŸ’– gnutls_pkcs11_get_pin_function(3) β€” the gnutls girlies' guide πŸ’–

okay so bestie, you know that whole gnutls manual thing? yeah. this page lives in it. and this function is literally just the getter of the PIN-callback saga. no cap.


✨ SYNOPSIS ✨

#include <gnutls/pkcs11.h>

gnutls_pin_callback_t gnutls_pkcs11_get_pin_function(void ** userdata);

like. look at her. so simple. so iconic. πŸŽ€


🌸 ARGUMENTS 🌸

  • void ** userdata β€” this is the lil spot where the data that's gonna get handed to the callback goes. it's your little gift bag for the callback function, and this is where it gets stashed. 🫢

πŸ’… DESCRIPTION πŸ’…

okay so here's the tea. this function returns the callback function that was previously set using gnutls_pkcs11_set_pin_function(). that's it. that's the whole plot. it's the "hey bestie what did we set earlier" function. the way that it just... hands you back your callback. obsessed. ✨


⭐ RETURNS ⭐

the function that was set. or NULL if there isn't one. so like, if nobody set anything, you get NULL and that's the vibe check result. πŸ’€


πŸ¦‹ SINCE πŸ¦‹

3.1.0 β€” she's been around, she's a legacy queen, respect her. πŸ‘‘


😭 REPORTING BUGS 😭

found a bug? spill. report it to <bugs@gnutls.org>.

home page, for the full lore: https://www.gnutls.org


Copyright Β© 2001-2023 Free Software Foundation, Inc., and others.

copying and distribution of this file, with or without modification, is permitted in any medium without royalty, provided the copyright notice and this notice are preserved. so like, take it, remix it, just don't be weird about the credits. 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/

and that's the whole page bestie, slay πŸ’…

this was the gnutls manual, version 3.8.13, page gnutls_pkcs11_get_pin_function(3) β€” mwah, go read the callback setter next, iykyk πŸ¦‹βœ¨

πŸ“¦ where this page comes from