gnutls_x509_aia_set(3)
π gnutls_x509_aia_set(3) β bestie edition π
okay so this is a page from the gnutls manual, and it's literally about one function: gnutls_x509_aia_set. no cap, that's the whole vibe. let's get into it π«Ά
β¨ NAME β¨
gnutls_x509_aia_set β it's an API function, bestie π
πΈ SYNOPSIS πΈ
#include <gnutls/x509-ext.h>
int gnutls_x509_aia_set(gnutls_x509_aia_t aia, const char * oid,
unsigned san_type, const gnutls_datum_t * san);
π ARGUMENTS π
gnutls_x509_aia_t aiaβ the authority info access, aka the thing we're writing into πconst char * oidβ the type of data. that's the vibe identifier fr frunsigned san_typeβ the type of the name (ofgnutls_subject_alt_names_t)const gnutls_datum_t * sanβ the alternative name data itself, the actual content β¨
π¦ DESCRIPTION π¦
so what this function does: it stores the alternative name you hand it inside the aia type. that's it, that's the job. π
typically the value for oid should be GNUTLS_OID_AD_OCSP, or GNUTLS_OID_AD_CAISSUERS. like, those are the ones you'd normally reach for, iykyk.
and here's a lil glow-up note: since version 3.5.7, the GNUTLS_SAN_RFC822NAME and GNUTLS_SAN_DNSNAME get converted to ACE format when necessary. obsessed with that π
β RETURNS β
on success you get GNUTLS_E_SUCCESS (that's 0), and otherwise you get a negative error value. so like, if it's negative, something went sideways, bestie π
π SINCE π
3.3.0 β she's been around a minute π
π REPORTING BUGS π
found something cursed? report bugs 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. (translation: go forth, 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/
and that's the whole page, periodt π
this was the gnutls manual, version 3.8.13, for gnutls_x509_aia_set(3) β slay, go set some AIA bestie πβ¨π¦
π¦ 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