gnutls_pubkey_set_pin_function(3)
β¨ gnutls_pubkey_set_pin_function(3) β¨
okay bestie, welcome to the gnutls manual π this one's a lil function called gnutls_pubkey_set_pin_function, and no cap, it's a short one, but it's lowkey important so stay with me π«Ά
πΈ NAME πΈ
gnutls_pubkey_set_pin_function β it's an API function, periodt π
π SYNOPSIS π
#include <gnutls/abstract.h>
void gnutls_pubkey_set_pin_function(gnutls_pubkey_t key,
gnutls_pin_callback_t fn, void * userdata);
like... look at her. so compact. so iconic β¨
π¦ ARGUMENTS π¦
gnutls_pubkey_t keyβ a key, of the typegnutls_pubkey_t. that's literally the whole vibe ποΈgnutls_pin_callback_t fnβ the callback. the moment. the main character πvoid * userdataβ data that's associated with the callback, like its lil emotional support buddy π
π DESCRIPTION π
so what does she do? π§
This function will set a callback function to be used when required to access the object. π―
And btw, this function overrides any other global PIN functions β she said "not on my watch", she's the priority now π no cap.
β οΈ but listen β note that this function must be called right after initialization to have effect. like, RIGHT after. don't be late to the function-calling party, bestie π timing is literally everything here.
β SINCE β
3.1.0 β an elder. a legend. been serving since way back π
π REPORTING BUGS π
found a bug? don't just suffer in silence, bestie π€ report it:
- bugs go to <bugs@gnutls.org> π§
- home page: https://www.gnutls.org π
π 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. πβ¨ (yes, that means you can share her around, 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/
go forth and read, iykyk ππ¦
and that's the whole page, bestie!! π this was gnutls version 3.8.13, gnutls_pubkey_set_pin_function(3) β mwah, slay, go call your callbacks right after init π β¨π
π¦ 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