gnutls_x509_crl_print(3)

πŸ’– gnutls_x509_crl_print(3) πŸ’–

ok so bestie, welcome to the gnutls manual β€” this one's all about gnutls_x509_crl_print, and it's genuinely so useful, i'm obsessed πŸŽ€


✨ NAME ✨

gnutls_x509_crl_print β€” it's an API function, no cap 🫢


🌸 SYNOPSIS 🌸

#include <gnutls/x509.h>

int gnutls_x509_crl_print(gnutls_x509_crl_t crl,
gnutls_certificate_print_formats_t format, gnutls_datum_t * out);

like, that's the whole vibe right there πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • gnutls_x509_crl_t crl β€” the data to be printed. this is the main character of the whole function, fr fr πŸ‘‘
  • gnutls_certificate_print_formats_t format β€” this one tells it which format to use. you're literally picking the aesthetic here ✨
  • gnutls_datum_t * out β€” a newly allocated datum with a null terminated string. it's fresh out the box, just for you 🎁

πŸ’… DESCRIPTION πŸ’…

so what does this do?? it will pretty print an X.509 certificate revocation list β€” you know, the kind that's suitable for display to a human πŸ‘€πŸ’–

ok important bestie: the output out needs to be deallocated using gnutls_free(). do NOT forget this. it's giving "clean up after yourself" and honestly? valid. don't be the person who leaks memory, it's not the vibe 😭

⭐ RETURNS ⭐

on success, GNUTLS_E_SUCCESS (0) is returned πŸŽ‰ otherwise you get a negative error value, which is the universe telling you something went wrong πŸ™ˆ


🌈 REPORTING BUGS 🌈

found a bug?? don't just sit there with it, tell the gnutls girlies:

they wanna hear from you, i promise 🫢


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. iconic behavior honestly πŸ’œ


πŸ‘‘ 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, you ate that πŸ’…βœ¨

this was gnutls_x509_crl_print(3) from the gnutls manual, version 3.8.13 β€” catch you in the next one, mwah πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from