GNUTLS_CERTIFICATE_VERIFICATION_PROFILE_GET_ID(3)
π NAME π
gnutls_certificate_verification_profile_get_id β bestie, it's an API function and it's here to turn your lil profile name string into a real, official profile id β¨ (this one lives in the gnutls manual, iykyk)
πΈ SYNOPSIS πΈ
#include <gnutls/x509.h>
gnutls_certificate_verification_profiles_t
gnutls_certificate_verification_profile_get_id(const char * name);
π ARGUMENTS π
const char * nameβ literally just a profile name, that's it, that's the whole vibe π¦
β¨ DESCRIPTION β¨
okay so here's the tea β β this function converts a string into a gnutls_certificate_verification_profiles_t value. one string in, one profile id out, slay π
and the way it matches? the names are compared in a case insensitive way. so go ahead and type it however your heart desires, bestie, capitals are not the main character here π
π«Ά RETURNS π«Ά
it hands you back a gnutls_certificate_verification_profiles_t id of the profile you asked for π
and if it can't find it? you get GNUTLS_PROFILE_UNKNOWN β no cap, that's the failure signal π so always check before you run off with it.
π REPORTING BUGS π
found a bug? don't be shy, tell the devs:
- bugs go 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. iconic behaviour fr fr, the legal girlies ate π₯
π 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/
and that's the whole page, bestie π mwah π this was gnutls version 3.8.13 β go off, verify those certificates, and remember: case insensitive names, GNUTLS_PROFILE_UNKNOWN on failure, periodt π
π¦ 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