gnutls_subject_alt_names_init(3)
β¨ NAME β¨
gnutls_subject_alt_names_init β okay bestie this is the API function that sets up your alternative names structure, and it's literally the first thing you call π
This one lives in the gnutls manual, so if you're out here reading man gnutls_subject_alt_names_init you're in exactly the right place π
π¦ SYNOPSIS π¦
#include <gnutls/x509-ext.h>
int gnutls_subject_alt_names_init(gnutls_subject_alt_names_t * sans);
Heads up: that header is gnutls/x509-ext.h, not the regular x509 one β she's special, she's extended, she's iconic β¨
πΈ ARGUMENTS πΈ
gnutls_subject_alt_names_t * sansβ the alternative names, periodt. You hand her the pointer to your alt-names thingy and she does the rest π
π DESCRIPTION π
So basically: this function will initialize an alternative names structure. That's it, that's the whole vibe. You call it, the structure gets initialized, and now you have somewhere to put your subject alternative names. Main character setup energy fr fr π«Ά
β RETURNS β
- On success,
GNUTLS_E_SUCCESS(0) is returned π - Otherwise you get a negative error value β aka it's giving "something went wrong," no cap π
π SINCE π
3.3.0 β she's been here since 3.3.0, a true veteran, an OG π
π₯ REPORTING BUGS π₯
Found a bug? Not me gatekeeping β 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. So yes bestie, you can share her around, 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/
iykyk, the Texinfo manual is where the whole lore lives π
Okay that's the whole page, you ate that π This was gnutls version 3.8.13, signing off β go forth and initialize those alternative names, queen πβ¨
π¦ 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