gnutls_certificate_type_get_id(3)
β¨ gnutls_certificate_type_get_id β¨
okay bestie, so this one lives in section 3 of the gnutls manual β it's a lil lookup function and it is, honestly, so simple it's kind of iconic. π
πΈ NAME πΈ
gnutls_certificate_type_get_id β API function π
π¦ SYNOPSIS π¦
#include <gnutls/gnutls.h>
gnutls_certificate_type_t gnutls_certificate_type_get_id(const char *
name);
π ARGUMENTS π
const char * nameβ this is a certificate type name, bestie. that's it. that's the whole vibe. give it a string, it tells you what the certificate type is. π
π DESCRIPTION π
so the way this works is: it takes your name string and matches it against certificate type names, and the names are compared in a case insensitive way. so like, casing? not the moment. "X509" and "x509" are gonna get treated the same, periodt. β¨
β RETURNS β
it hands you back a gnutls_certificate_type_t for the certificate type you specified in that string π«Ά β or, if something went sideways, you get GNUTLS_CRT_UNKNOWN on error. so yeah, if you see that one come back, it's giving "not found", and you should lowkey check your spelling. π
π REPORTING BUGS π
found a bug? don't suffer in silence, bestie. report it to bugs@gnutls.org fr fr. π§
home page is right here: 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. slay, no cap, that's genuinely generous of them. π
π SEE ALSO π
the full documentation for gnutls is maintained as a Texinfo manual. so 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! every single detail, exactly where it belongs, no notes. π β¨
okay that's a wrap, bestie β this page is from gnutls 3.8.13, page gnutls_certificate_type_get_id(3). go forth and case-insensitively slay. π¦πΈπ
π¦ 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