gnutls_x509_crl_get_this_update(3)

πŸ’– gnutls_x509_crl_get_this_update πŸ’–

okay bestie, welcome to the gnutls manual, section 3 πŸŽ€ this one's a lil baby function and it's honestly kind of iconic. it lives in the gnutls family (you'll see gnutls_x509_crl_get_this_update(3) floating around everywhere) and it's here to answer one very important question: when was this CRL even issued?? πŸ¦‹


✨ NAME ✨

gnutls_x509_crl_get_this_update β€” API function πŸ’…


🌸 SYNOPSIS 🌸

#include <gnutls/x509.h>

time_t gnutls_x509_crl_get_this_update(gnutls_x509_crl_t crl);

like, that's the whole vibe. one include, one function, one time_t coming back at you 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • gnutls_x509_crl_t crl β€” bestie this should contain a gnutls_x509_crl_t type. that's it, that's the requirement. no cap πŸ’–

πŸ’œ DESCRIPTION πŸ’œ

so basically this function will return the time this CRL was issued. the CRL knows when it was born and this is how you ask it πŸ₯Ή it's giving "when's your birthday" but for certificate revocation lists, and the answer comes back as a time_t. periodt ✨


⭐ RETURNS ⭐

  • the time when the CRL was issued, slay βœ…
  • or (time_t)-1 on error 😭 β€” yeah, that's the sad path, watch out for it

πŸ› REPORTING BUGS πŸ›

found a bug? don't suffer in silence, tell the gnutls girlies:


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, keep the receipt β€” it's literally the only ask πŸ’…)


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

go forth and read, iykyk πŸ“šβœ¨


and that's the whole page, bestie!! this was gnutls 3.8.13, section 3, gnutls_x509_crl_get_this_update(3) β€” ty for coming to my ted talk, mwah πŸ’‹πŸ’–πŸŽ€

πŸ“¦ where this page comes from