gnutls_x509_spki_init(3)
π gnutls_x509_spki_init(3) π
okay bestie, so this is a page from the gnutls manual, and today we're getting into gnutls_x509_spki_init β an API function, no cap. she's small, she's simple, she's iconic. let's go β¨
β¨ NAME β¨
gnutls_x509_spki_init β API function π
πΈ SYNOPSIS πΈ
#include <gnutls/x509.h>
int gnutls_x509_spki_init(gnutls_x509_spki_t * spki);
π¦ ARGUMENTS π¦
gnutls_x509_spki_t * spkiβ a pointer to the type you want initialized π she has to be a pointer, okay? we're setting her up for greatness.
π DESCRIPTION π
so here's the tea: this function initializes a SubjectPublicKeyInfo structure β the kind that gets used in PKIX. and the way that structure works? it's literally there so you can set additional parameters in the public key information field of a certificate. that's the whole job. she does one thing and she does it well π«Ά
β RETURNS β
when it goes right, you get GNUTLS_E_SUCCESS (which is 0, the good number, the slay number π). and if it doesn't go right? you get a negative error value instead. sad girl hours, but at least you know π
π SINCE π
3.6.0 β she's been around, she's a veteran, she's got history π
π REPORTING BUGS π
found something cursed? tell the devs, bestie:
- 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, fr fr β go forth and redistribute, just keep the notice, that's the rule π
π§ 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, go visit:
https://www.gnutls.org/manual/
iykyk π
and that's the whole page, bestie!! this little writeup came to you courtesy of gnutls 3.8.13, page gnutls_x509_spki_init(3) πΈ go init something cute and stay hydrated πβ¨π¦
π¦ 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