GNUTLS_CERTIFICATE_EXPIRATION_TIME_PEERS(3)
β¨ NAME β¨
gnutls_certificate_expiration_time_peers β it's an API function, bestie π
(from the gnutls manual, if you were wondering who claims her)
πΈ SYNOPSIS πΈ
#include <gnutls/gnutls.h>
time_t gnutls_certificate_expiration_time_peers(gnutls_session_t
session);
π ARGUMENTS π
gnutls_session_t sessionβ okay so this is a gnutls session. That's it. That's the whole argument. She's low maintenance. π
π¦ DESCRIPTION π¦
So likeβ¦ this function will return the peer's certificate expiration time. That's the vibe. That's the whole plot. Your bestie's cert has a little clock ticking on it and this is how you peek at it. β°β¨
π RETURNS π
It returns (time_t)-1 on error. Not a great sign, but iconic of it to be honest. π
π DEPRECATED π
Not me having to tell you thisβ¦ bestie, she's deprecated. gnutls_certificate_verify_peers2() now verifies expiration times. So like, go talk to her instead. π«Ά
π REPORTING BUGS π
Found a bug? Fr fr, report it to <bugs@gnutls.org>.
Home page: https://www.gnutls.org
π COPYRIGHT π
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. (Slay, and also legally binding, 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/
okay that's the whole page bestie, mwah π β this was gnutls version 3.8.13, and yeah she's the gnutls_certificate_expiration_time_peers(3) girly. periodt. π
ππ¦
π¦ where this page comes from
- alpine 3.22: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.23: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.24: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- arch rolling: gnutls 3.8.13-3 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- ubuntu stonking: gnutls-doc 3.8.13-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms