GNUTLS_X509_CRT_SET_CRQ_EXTENSIONS(3)

✨ NAME ✨

gnutls_x509_crt_set_crq_extensions β€” an API function, bestie πŸ’– and yes it lives in the gnutls manual (that's the manual name, we're not being mysterious about it)


πŸŽ€ SYNOPSIS πŸŽ€

#include <gnutls/x509.h>

int gnutls_x509_crt_set_crq_extensions(gnutls_x509_crt_t crt,
gnutls_x509_crq_t crq);

πŸ¦‹ ARGUMENTS πŸ¦‹

  • gnutls_x509_crt_t crt β€” a certificate of type gnutls_x509_crt_t. like, the actual cert, the main character here πŸ‘‘
  • gnutls_x509_crq_t crq β€” holds a certificate request. it's the one bringing the extensions to the party 🎁

🌸 DESCRIPTION 🌸

okay so this function will set the extensions from the given request over onto the certificate. that's it, that's the whole vibe β€” request extensions go in, certificate extensions come out. copy-paste but make it cryptography ✨


πŸ’… RETURNS πŸ’…

on success? you get GNUTLS_E_SUCCESS (0) back. anything else is a negative error value, which is your signal that something went off 😭


⭐ SINCE ⭐

2.8.0 β€” she's been iconic for a minute, no cap 🫢


πŸ› REPORTING BUGS πŸ›

found a bug? do not suffer in silence, report it to <bugs@gnutls.org> πŸ’Œ

home page: 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. literally free, slay 🌈


πŸ”₯ 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/
iykyk β€” that's where the full lore lives πŸ“š

and that's the page, bestie!! πŸŽ€ this was gnutls version 3.8.13, mwah πŸ’‹ go forth and set those extensions, you absolute icon πŸ’…βœ¨

πŸ“¦ where this page comes from