GNUTLS_CERTIFICATE_VERIFICATION_PROFILE_GET_NAME(3)

💖 gnutls_certificate_verification_profile_get_name — the manual, but make it make sense 💖

okay bestie, sit down, hydrate, and let's talk about a little function from the gnutls crew 🧚


✨ NAME ✨

gnutls_certificate_verification_profile_get_name — it's an API function, and its whole entire job is turning a profile ID into a name. that's it. that's the girl. 👑


✨ SYNOPSIS ✨

#include <gnutls/x509.h>

const char *
gnutls_certificate_verification_profile_get_name(gnutls_certificate_verification_profiles_t
id);

like yes, the declaration really does wrap like that, she's long, she's dramatic, she's iconic 💅


✨ ARGUMENTS ✨

  • gnutls_certificate_verification_profiles_t id — this is a profile ID. that's the whole vibe. you hand her an ID, she tells you who it is. 🫶

✨ DESCRIPTION ✨

so basically 🌸 you've got yourself a gnutls_certificate_verification_profiles_t value and you're like "who is this diva" and this function converts that value into a string. literally just a glow-up from enum to text. no cap.


✨ RETURNS ✨

she gives you back a string that contains the name of the profile you asked about ✨ — or NULL if she's got nothing for you. so like, check for NULL, bestie, please 😭 don't be out here dereferencing nothing.


✨ REPORTING BUGS ✨

found a bug? spill it to <bugs@gnutls.org>. 📮

home page, for the vibes: https://www.gnutls.org 🏠


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 go ahead and share it, just keep the receipts 🎀


✨ 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, and yeah the header and footer got folded in here because we're cute like that. periodt. 👑✨

📦 where this page comes from