gnutls_x509_aia_get(3)
π gnutls_x509_aia_get β the glow-up guide π
okay bestie, so this is a page from the gnutls manual, and it's all about one little function that lives in gnutls/x509-ext.h. it's called gnutls_x509_aia_get, and no cap, it's the vibe check you run on the Authority Information Access thing. let's get into it π«Ά
β¨ NAME β¨
gnutls_x509_aia_get β API function. that's it, that's the name, she's simple and she knows it π
πΈ SYNOPSIS πΈ
#include <gnutls/x509-ext.h>
int gnutls_x509_aia_get(gnutls_x509_aia_t aia, unsigned int seq,
gnutls_datum_t * oid, unsigned * san_type, gnutls_datum_t * san);
look at her. five whole parameters. iconic behavior honestly β¨
π ARGUMENTS π
gnutls_x509_aia_t aiaβ the authority info access. yes that's the whole description, she's the main character and needs no introduction πunsigned int seqβ this one tells us which access descriptor in the sequence we're curious about.0= the first one,1= the second one, etc. like scrolling through your fyp, one at a time π¦gnutls_datum_t * oidβ the type of available data. treat it as constant, do NOT go messing with it, she's not yours πunsigned * san_typeβ will hold the type of the name ofgnutls_subject_alt_names_t. heads up: this one may be null (that's allowed, she's flexible) β¨gnutls_datum_t * sanβ the access location name. also to be treated as constant, and also may be null. lowkey generous of her to be optional π
π DESCRIPTION π
so this function reads from the Authority Information Access type. that's the whole job, bestie, she reads. π
the seq input parameter is the way you tell her which member of the sequence you're interested in. the first member is 0, the second member 1, and so on forever and ever. it's giving index energy. and when your seq value goes out of bounds? you get GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE back. not an error error, just her politely saying "girl, there's nothing there" π
typically, the oid you're dealing with is either GNUTLS_OID_AD_CAISSUERS or GNUTLS_OID_AD_OCSP. those are the two usual suspects, iykyk π
β RETURNS β
on success? you get GNUTLS_E_SUCCESS (0) and everything is slay. otherwise you get a negative error value, which is the universe telling you to maybe check your inputs π
π SINCE π
3.3.0 β she's been here since 3.3.0, a true veteran of the game π
π¦ REPORTING BUGS π¦
found a bug? do NOT suffer in silence, bestie. report it to <bugs@gnutls.org>. π§
home page: https://www.gnutls.org β that's the link, go check her out π
π 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. so yes 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 read the full manual, she's got range, no cap π
and that's the whole page, bestie!! this came from the gnutls manual, version 3.8.13, and it's the gnutls_x509_aia_get(3) page β she ate, left no crumbs, and honestly? we're obsessed π«Άπβ¨
π¦ 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