gnutls_x509_cr...issuer_alt_name(3)
β¨ NAME β¨
okay so welcome to the gnutls manual, section 3, bestie π β this page is all about gnutls_x509_crt_set_issuer_alt_name, which is, and I quote, an API function. that's it, that's the name. slay.
πΈ SYNOPSIS πΈ
#include <gnutls/x509.h>
int gnutls_x509_crt_set_issuer_alt_name(gnutls_x509_crt_t crt,
gnutls_x509_subject_alt_name_t type, const void * data, unsigned int
data_size, unsigned int flags);
like, there it is, verbatim, don't @ me π
π ARGUMENTS π
gnutls_x509_crt_t crtβ a certificate of typegnutls_x509_crt_t. yeah, the type name is the same as the type name, iconic behaviour honestly πgnutls_x509_subject_alt_name_t typeβ it's one of thegnutls_x509_subject_alt_name_tenumerations. pick ur fighter β¨const void * dataβ the data to be set. that's the vibe, that's the payload π¦unsigned int data_sizeβ the size of data to be set. yes, the size. of the data. of what u just brought πunsigned int flagsβGNUTLS_FSAN_SETto clear previous data, orGNUTLS_FSAN_APPENDto append. choose wisely, bestie π
π« DESCRIPTION π«
so this function sets the issuer alternative name certificate extension. it can set the same types as gnutls_x509_crt_set_subject_alt_name() β same energy, different extension, we love consistency π«Ά
and since version 3.5.7, the GNUTLS_SAN_RFC822NAME, GNUTLS_SAN_DNSNAME, and GNUTLS_SAN_OTHERNAME_XMPP get converted to ACE format when necessary. lowkey a glow-up, highkey essential. no cap β¨
β RETURNS β
on success, GNUTLS_E_SUCCESS (0) is returned. otherwise u get a negative error value π β so like, check ur return codes, fr fr.
π¦ SINCE π¦
3.3.0 β she's been here since 3.3.0, a real one, main character energy π
π REPORTING BUGS π
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. periodt. πβ¨
π§ 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/
ok that's the whole page, nothing skipped, nothing invented, every flag and number intact π
and that's a wrap bestie β this was the gnutls manual, 3.8.13, page gnutls_x509_cr...issuer_alt_name(3) (yeah the title's truncated in the header, we don't talk about it π). bye, ily, go set some issuer alt names πππ
π¦ 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