gnutls_certificate_type_get_name(3)
π gnutls_certificate_type_get_name(3) π
okay bestie, sit down, hydrate, because we're doing a lil tour of the gnutls manual β this one lives in section 3 of the gnutls manual and it's literally the glow-up translator for certificate types. no cap. π
β¨ NAME β¨
gnutls_certificate_type_get_name β it's an API function, and it's here to turn your cryptic certificate-type enum into actual human-readable text π
π¦ SYNOPSIS π¦
#include <gnutls/gnutls.h>
const char * gnutls_certificate_type_get_name(gnutls_certificate_type_t
type);
like yes, that's the whole vibe. one include, one function, one argument. slay.
πΈ ARGUMENTS πΈ
gnutls_certificate_type_t typeβ bestie, this is a certificate type. that's it. that's the assignment. hand it over and we'll tell you its name. π«Ά
π DESCRIPTION π
Convert a gnutls_certificate_type_t type to a string. literally that's the whole job. you give it the type, it gives you back a string. it's giving translator, it's giving dictionary, it's giving main character energy for enum values. β¨
π RETURNS π
a string that contains the name of the specified certificate type, or NULL in case of unknown types. π
so if you pass it something it doesn't recognize, you getNULLback. check for that, okay? don't be out here dereferencingNULLand then acting surprised. we don't do that. π
π REPORTING BUGS π
found a bug? spill the tea to the maintainers, they want to know:
- 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 like, yes you can share it, just keep the receipt, 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/
iykyk, the Texinfo manual is where the full lore lives. go read it, it ate. π₯
and that's the whole page, bestie!! this was gnutls_certificate_type_get_name(3) from the gnutls manual, version 3.8.13 β go forth, convert those types, and remember: unknown types get NULL, so vibe check your pointers. 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