gnutls_x509_ext_export_aia(3)
β¨ gnutls_x509_ext_export_aia(3) β¨
okay bestie, so this one lives in the gnutls manual, and it's about turning your Authority Information Access stuff into actual DER bytes. it's giving "encoder era" and honestly? iconic. π
πΈ NAME πΈ
gnutls_x509_ext_export_aia β literally just an API function, that's it, that's the whole job π
π¦ SYNOPSIS π¦
#include <gnutls/x509-ext.h>
int gnutls_x509_ext_export_aia(gnutls_x509_aia_t aia, gnutls_datum_t *
ext);
π ARGUMENTS π
gnutls_x509_aia_t aiaβ the authority info access. yes, THE authority info access. it's right there in the name, she's the main character πgnutls_datum_t * extβ the DER-encoded extension data. and listen, this one you MUST free usinggnutls_free(). no cap. notfree(), not vibes,gnutls_free(). don't leak her fr fr π
π DESCRIPTION π
so this function DER encodes the Authority Information Access (AIA) extension. that's the whole thing bestie. π«
if you want the actual lore, check RFC 5280 section 4.2.2.1 β that's where the extension gets explained properly, and it's lowkey required reading iykyk π
β RETURNS β
on success, GNUTLS_E_SUCCESS (which is 0, she's humble like that) gets returned. π«Ά
otherwise you get a negative error value and it's giving sad girl hours π
π§ SINCE π§
3.3.0 β an elder, honestly. been here since forever and still serving πΈ
π REPORTING BUGS π
found a bug? don't suffer in silence, tell the girlies:
- 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 off, 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 babes π this was gnutls version 3.8.13, and the manpage is dated the same, so shoutout to the gnutls crew β ily, periodt π
π¦ 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