gnutls_x509_ex...uthority_key_id(3)
β¨ NAME β¨
gnutls_x509_ext_export_authority_key_id β it's an API function, bestie π and it lives in the gnutls manual. Yes, the page header is doing the truncated-name thing (gnutls_x509_ex...uthority_key_id(3)) but we all know who she is.
π¦ SYNOPSIS π¦
#include <gnutls/x509-ext.h>
int gnutls_x509_ext_export_authority_key_id(gnutls_x509_aki_t aki,
gnutls_datum_t * ext);
π ARGUMENTS π
gnutls_x509_aki_t akiβ an authority key identifier that's already been initialized. Like, she's awake and ready, no cap. πgnutls_datum_t * extβ the DER-encoded extension data. Heads up bestie, you must free this usinggnutls_free(). Not optional, not a vibe, just do it. π«Ά
πΈ DESCRIPTION πΈ
Okay so here's the tea β β this function takes the key identifier you handed it and converts it into a DER-encoded PKIX AuthorityKeyIdentifier extension. That's the whole plot. π¬
And the output data sitting in ext? It gets allocated using gnutls_malloc(), so you already know what that means for cleanup (see above, we talked about this π).
β RETURNS β
On success you get GNUTLS_E_SUCCESS (which is 0, iconic), and otherwise you get a negative error value. Slay if it's zero, cry if it's negative. π
π SINCE π
3.3.0 β she's been around, she's a veteran, respect her. π
π 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. (Yes, that's the whole thing, verbatim energy, we 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/
That's the whole page, bestie π go forth and export those authority key identifiers responsibly. This one's from the gnutls pages, version 3.8.13 β mwah, signing off ππ
π¦ 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