gnutls_x509_cr...activation_time(3)

✨ NAME ✨

gnutls_x509_crt_get_activation_time β€” an API function, bestie, and it's here to tell you when a certificate wakes up πŸ’–

(it lives in the gnutls manual, if you were wondering where this whole vibe comes from πŸŽ€)


🌸 SYNOPSIS 🌸

#include <gnutls/x509.h>

time_t gnutls_x509_crt_get_activation_time(gnutls_x509_crt_t cert);

πŸ¦‹ ARGUMENTS πŸ¦‹

  • gnutls_x509_crt_t cert β€” should contain a gnutls_x509_crt_t type. like, that's the whole assignment, no notes πŸ’…

πŸ’œ DESCRIPTION πŸ’œ

okay so here's the tea β˜• β€” this function will return the time this Certificate was or will be activated.

that's it. that's the function. it's giving "what time does this cert turn on" and honestly? iconic 🫢


πŸ‘‘ RETURNS πŸ‘‘

activation time, or (time_t)-1 on error.

heads up bestie: if you get (time_t)-1 back, something went wrong β€” don't go treating that as a real timestamp, fr fr 😭

🌈 REPORTING BUGS 🌈

found a bug? not the vibe, but okay, we handle it:


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.


⭐ 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 a wrap on gnutls_x509_cr...activation_time(3) from gnutls 3.8.13 β€” go check those activation times, main character energy only βœ¨πŸ’…πŸ¦‹

πŸ“¦ where this page comes from