GNUTLS_X509_CRT_SET_AUTHORITY_KEY_ID(3)
π gnutls_x509_crt_set_authority_key_id(3) π
okay bestie so this is one of the pages from the gnutls manual β you know, the TLS library that literally runs half the internet's vibe check. and this specific page? it's about setting the authority key ID extension on an X.509 certificate. we love a niche but essential function, no cap. π
β¨ NAME β¨
gnutls_x509_crt_set_authority_key_id β an API function, and yes it does exactly what the name says, iconic behaviour honestly
πΈ SYNOPSIS πΈ
#include <gnutls/x509.h>
int gnutls_x509_crt_set_authority_key_id(gnutls_x509_crt_t cert, const
void * id, size_t id_size);
π¦ ARGUMENTS π¦
gnutls_x509_crt_t certβ a certificate, and its type is literallygnutls_x509_crt_t, so like, it's the certificate you're about to mess with πconst void * idβ the key ID. that's it. that's the whole thing.size_t id_sizeβ holds the size of the key ID field. the little number that says how bigidactually is.
π₯ DESCRIPTION π₯
so here's the tea: this function sets the X.509 certificate's authority key ID extension. slay.
but bestie, listen β only the keyIdentifier field can be set with this function. that's the whole scope. no extras, no add-ons, just that one field. periodt. π
β RETURNS β
if it works? you get GNUTLS_E_SUCCESS (that's a 0, the sweetest number) π«Ά
if it doesn't? you get a negative error value. rude, but that's how you know something went sideways. π
π REPORTING BUGS π
found a bug? first of all, condolences. second of all, report it to <bugs@gnutls.org>.
home page is right here: https://www.gnutls.org β go touch grass on it, it's lovely π
π COPYRIGHT π
Copyright Β© 2001-2023 Free Software Foundation, Inc., and others.
and the license vibe is: 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 like, share it, remix it, whatever β just keep the receipts. π
πΈ SEE ALSO πΈ
the full documentation for gnutls is maintained as a Texinfo manual. so if the /usr/share/doc/gnutls/ directory is not giving what it needs to give (i.e. it doesn't contain the HTML form), go visit:
https://www.gnutls.org/manual/
mwah π that's the whole page. every flag, every arg, every number, all present and accounted for.
and a lil sign-off for the girlies keeping track: this page belongs to gnutls 3.8.13 β so when you're citing it, cite it right, iykyk. πβ¨
π¦ 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