gnutls_x509_crt_init(3)
π gnutls_x509_crt_init(3) π
okay bestie, welcome to the gnutls manual β yes, that gnutls, the TLS library of all time. this page is about gnutls_x509_crt_init, and it's genuinely one of the easiest little guys in the whole API. let's get into it π
β¨ NAME β¨
gnutls_x509_crt_init β it's an API function, babes. that's the whole job description. π
πΈ SYNOPSIS πΈ
#include <gnutls/x509.h>
int gnutls_x509_crt_init(gnutls_x509_crt_t * cert);
look at her. clean. minimal. iconic. β¨
π¦ ARGUMENTS π¦
gnutls_x509_crt_t * certβ bestie this is just a pointer to the type you wanna initialize. that's it. that's the whole argument. she's low maintenance π«Ά
π DESCRIPTION π
so what does it actually do? this function will initialize an X.509 certificate structure. literally that's it. you hand her the address of your gnutls_x509_crt_t, she sets it up all nice and ready for you, and then you go do your cert things. main character setup energy, no cap π
β RETURNS β
- on success,
GNUTLS_E_SUCCESS(0) is returned π - otherwise, you get a negative error value. so like, check your return codes bestie, please π
π REPORTING BUGS π
found something cursed? don't suffer in silence, tell the devs:
- report bugs to
<bugs@gnutls.org>β they wanna hear it fr fr - 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 like, keep the receipts, okay? that's the deal π
π 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/
like, go. click. read. iykyk πβ¨
and that's the whole page bestie!! this one came to you from gnutls 3.8.13 β go forth and initialize those certificates, you absolute legend ππ πΈ mwah!! π«Ά
π¦ 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