gnutls_certificate_set_flags(3)

✨ gnutls_certificate_set_flags ✨

okay bestie, welcome to the gnutls manual πŸ’– this one is short and sweet, but it's lowkey important, so stay with me.


🌸 NAME 🌸

gnutls_certificate_set_flags β€” literally the API function that sets your flags. that's it. that's the job. πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <gnutls/gnutls.h>

void gnutls_certificate_set_flags(gnutls_certificate_credentials_t res,
unsigned int flags);

πŸŽ€ ARGUMENTS πŸŽ€

  • gnutls_certificate_credentials_t res β€” this is a gnutls_certificate_credentials_t type, no cap. it's the credentials structure you're tweaking 🫢
  • unsigned int flags β€” these are the flags of gnutls_certificate_flags type. the actual flag values live over in that enum, so go peek at it πŸ‘€

πŸ’œ DESCRIPTION πŸ’œ

so what does this do? this function sets flags to tweak the operation of the credentials structure. that's the whole vibe β€” you hand it flags and it adjusts how the credentials behave ✨

want to know which flags exist? the gnutls_certificate_flags enumerations have all the tea β€” that's where the info on the available flags lives πŸ“–


⭐ SINCE ⭐

3.4.7 β€” she's been around a minute, iconic behavior πŸ‘‘


πŸ› REPORTING BUGS πŸ›

found a bug? don't suffer in silence bestie, report it πŸ’Œ


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. (yes, royalty-free, we love that for you 🌈)


πŸ‘€ 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/


ngl, if the docs aren't where you expect them, the website has your back. always check the website 🧚

k bye, that's the whole page! go set some flags, you main character πŸ’–βœ¨

signing off from the gnutls manual, version 3.8.13 πŸŽ€ (page: gnutls_certificate_set_flags(3))

πŸ“¦ where this page comes from