gnutls_x509_crq_set_tlsfeatures(3)

✨ gnutls_x509_crq_set_tlsfeatures ✨

okay bestie, sit down, because we're doing a little thing from the gnutls manual and it's honestly so cute and so specific πŸ’–


🌸 NAME 🌸

gnutls_x509_crq_set_tlsfeatures β€” it's an API function, no cap πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <gnutls/x509.h>

int gnutls_x509_crq_set_tlsfeatures(gnutls_x509_crq_t crq,
gnutls_x509_tlsfeatures_t features);

πŸ’… ARGUMENTS πŸ’…

  • gnutls_x509_crq_t crq β€” an X.509 certificate request. that's the thing you're decorating ✨
  • gnutls_x509_tlsfeatures_t features β€” and if the function succeeds, these features get added to the certificate request. like, they're going in, periodt 🫢

🌈 DESCRIPTION 🌈

so the way this works is: this function will set the certificate request's X.509 TLS extension from the given structure. that's the whole vibe. you hand it the structure, it goes in. iconic behavior honestly πŸ‘‘


⭐ RETURNS ⭐

on success, GNUTLS_E_SUCCESS (0) is returned πŸŽ‰

otherwise? a negative error value. not the main character moment we wanted, but that's the deal 😭


πŸ“ SINCE πŸ“

3.5.1 β€” oldie but a goodie, been here since forever πŸ’œ


πŸ™ˆ REPORTING BUGS πŸ™ˆ

found something cursed? report bugs to <bugs@gnutls.org>. πŸ“¬

home page: https://www.gnutls.org β€” go say hi 🌐


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 bestie, that's literally the whole license, go off πŸŽ€


πŸ”₯ 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/


lowkey the most important part: that's the whole page, nothing skipped, nothing invented, iykyk πŸ’–

okay that's it, that's the whole manpage, mwah πŸ’‹ this was gnutls version 3.8.13, and yeah the header and footer said gnutls_x509_crq_set_tlsfeatures(3) on both ends β€” slay, we're done here ✨🧚🌸

πŸ“¦ where this page comes from