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 type gnutls_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 the gnutls_x509_subject_alt_name_t enumerations. 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_SET to clear previous data, or GNUTLS_FSAN_APPEND to 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 Β© 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