GNUTLS_CERTIFICATE_ACTIVATION_TIME_PEERS(3)

✨ gnutls_certificate_activation_time_peers ✨

okay bestie, welcome to the gnutls manual, this is an API function and it's giving "small but important" energy πŸ’–


🌸 SYNOPSIS 🌸

#include <gnutls/gnutls.h>

time_t gnutls_certificate_activation_time_peers(gnutls_session_t
session);

πŸŽ€ ARGUMENTS πŸŽ€

  • gnutls_session_t session β€” bestie this is a gnutls session, that's literally it, that's the whole vibe πŸ¦‹

πŸ’… DESCRIPTION πŸ’…

so this function will return the peer's certificate activation time. that's the tea. that's the whole function. it looks at your session, it looks at the peer's cert, and it hands you back when that cert becomes active. lowkey iconic for a one-liner ✨


πŸ‘‘ RETURNS πŸ‘‘

  • (time_t)-1 on error 😭
like if it comes back with (time_t)-1, that's not a real time, bestie, that's the error signal, don't go scheduling anything around it fr fr πŸ’€

πŸ’€ DEPRECATED πŸ’€

not me having to tell you this… gnutls_certificate_verify_peers2() now verifies activation times. so this one is the old way of doing things. it's still here, it still works, but the cool kids are using gnutls_certificate_verify_peers2() now 🫢


πŸ› REPORTING BUGS πŸ›

found a bug? don't suffer in silence bestie, report 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 the gnutls page, bestie πŸ’œ this was gnutls 3.8.13, served fresh from the gnutls manual. go forth and check those activation times responsibly, mwah πŸ’…πŸŽ€

πŸ“¦ where this page comes from