gnutls_x509_aki_get_id(3)

✨ gnutls_x509_aki_get_id ✨

okay bestie, welcome to the gnutls manual page for gnutls_x509_aki_get_id(3) πŸ’– this is one of those lil functions that lives in the gnutls library and just... hands you a key identifier. no drama, no cap. let's get into it 🫢


🌸 SYNOPSIS 🌸

#include <gnutls/x509-ext.h>

int gnutls_x509_aki_get_id(gnutls_x509_aki_t aki, gnutls_datum_t * id);

πŸŽ€ ARGUMENTS πŸŽ€

  • gnutls_x509_aki_t aki β€” the authority key ID, i.e. the whole AKI situation you're pulling from πŸ‘‘
  • gnutls_datum_t * id β€” this one's the lil vessel that will hold the identifier once the function is done doing its thing ✨

πŸ’… DESCRIPTION πŸ’…

so here's the vibe: this function returns the key identifier exactly as it's stored inside the aki type. that's it, that's the whole job. she's simple, she's effective, we love her πŸ’–

⚠️ real talk though β€” the identifier should be treated as constant. do not go messing with it, okay? it's giving "look but don't touch" πŸš«πŸ™ˆ

🌈 RETURNS 🌈

  • when it works out: GNUTLS_E_SUCCESS (0) β€” slay, we ate πŸŽ‰
  • when the index is out of bounds: GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE β€” she's not there, babes 😭
  • anything else: a negative error value β€” not the moment πŸ’€

⭐ SINCE ⭐

3.3.0 β€” yeah she's been around a while, an icon of longevity fr fr πŸ‘‘


πŸ› REPORTING BUGS πŸ›

found something cursed? spill the tea to <bugs@gnutls.org> πŸ“§

home page is right here: 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. (yes, that's the whole legal vibe, and it's honestly very generous of them 🫢)


πŸ‘€ 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/

okay that's the whole page, bestie!! this was gnutls_x509_aki_get_id(3) from the gnutls manual, version 3.8.13 β€” and that's a wrap, mwah πŸ’‹πŸ§šπŸ’œ

πŸ“¦ where this page comes from