gnutls_x509_cr...crl_dist_points(3)

πŸ’– gnutls_x509_cr...crl_dist_points(3) πŸ’–

okay bestie, welcome to the gnutls manual, this one's all about gnutls_x509_crt_set_crl_dist_points β€” literally the API function that handles your cert's CRL distribution points. no cap. let's get into it πŸŽ€


✨ NAME ✨

gnutls_x509_crt_set_crl_dist_points β€” it's an API function, bestie. that's the whole vibe.


🌸 SYNOPSIS 🌸

#include <gnutls/x509.h>

int gnutls_x509_crt_set_crl_dist_points(gnutls_x509_crt_t crt,
gnutls_x509_subject_alt_name_t type, const void * data_string, unsigned
int reason_flags);

like. look at her. the main character signature fr fr πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • gnutls_x509_crt_t crt β€” a certificate of type gnutls_x509_crt_t. yeah she's the cert you're messing with, periodt.
  • gnutls_x509_subject_alt_name_t type β€” this one is one of the gnutls_x509_subject_alt_name_t enumerations. pick your fave from the enum, iykyk.
  • const void * data_string β€” the data to be set. the actual content, the moment, the substance πŸ’–
  • unsigned int reason_flags β€” revocation reasons. that's it, that's the tea.

🧚 DESCRIPTION 🧚

okay so here's the thing: this function will set the CRL distribution points certificate extension. that's literally it. she does one job and she ATE. ✨


πŸ‘‘ RETURNS πŸ‘‘

on success, GNUTLS_E_SUCCESS (0) is returned, otherwise you get a negative error value 😭. so if it's negative, something went wrong, and you should go check on her.


πŸ’€ REPORTING BUGS πŸ’€

found a bug? not the cute kind? 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. slay, and also legally binding, so keep the notice okay bestie πŸ’œ


⭐ 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/

and that's the whole page, bestie πŸŽ€ this one's from gnutls, version 3.8.13 β€” go forth and set those CRL distribution points, you absolute icon πŸ’…βœ¨πŸŒΈ

πŸ“¦ where this page comes from