gnutls_x509_crl_set_crt_serial(3)

πŸ’– gnutls_x509_crl_set_crt_serial(3) πŸ’–

okay bestie, welcome to the gnutls manual, section 3. yes this is a real manual page and yes it's about to be your new fave 🫢


✨ NAME ✨

gnutls_x509_crl_set_crt_serial β€” literally the API function, that's it, that's the name πŸ’…


✨ SYNOPSIS ✨

#include <gnutls/x509.h>

int gnutls_x509_crl_set_crt_serial(gnutls_x509_crl_t crl, const void *
serial, size_t serial_size, time_t revocation_time);

✨ ARGUMENTS ✨

  • gnutls_x509_crl_t crl β€” should contain a gnutls_x509_crl_t type. like, that's the whole vibe of this argument, no notes 🌸
  • const void * serial β€” The revoked certificate's serial number. the receipts, the ID, the little barcode of the cert that got done dirty 😭
  • size_t serial_size β€” Holds the size of the serial field. it's giving "how many bytes is this serial actually, bestie" πŸ“
  • time_t revocation_time β€” The time this certificate was revoked. the exact moment it got kicked out of the group chat ⏰

✨ DESCRIPTION ✨

This function will set a revoked certificate's serial number to the CRL. that's it. that's the whole job. you hand it a CRL, you hand it a serial, you hand it a size, you hand it a time, and boom β€” that cert is now officially on the naughty list πŸ’€βœ¨


✨ RETURNS ✨

On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error value. so if you get 0, slay, you ate. if you get a negative number, that's the universe saying "not me today" πŸ™ˆ


✨ REPORTING BUGS ✨

Report bugs to <bugs@gnutls.org>. fr fr, they actually want to know.

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. iconic behavior honestly, no cap 🌈


✨ 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!! every option, every arg, every byte, all of it, still intact πŸ’…

this has been the gnutls manual, version 3.8.13 β€” the gnutls_x509_crl_set_crt_serial(3) page, which is genuinely so much shorter than most of its siblings and lowkey that's a blessing πŸŽ€

go forth and revoke responsibly, main character πŸ¦‹βœ¨

πŸ“¦ where this page comes from