gnutls_x509_cr...expiration_time(3)
β¨ gnutls_x509_crt_get_expiration_time β¨
okay bestie, welcome to the gnutls manual page for gnutls_x509_crt_get_expiration_time π this is the tea on one single API function, and honestly? it's a lil bop. sit down, hydrate, let's go π«Ά
πΈ NAME πΈ
gnutls_x509_crt_get_expiration_time β it's an API function, bestie. that's literally what it is. π
π SYNOPSIS π
the way you get this party started:
#include <gnutls/x509.h>
time_t gnutls_x509_crt_get_expiration_time(gnutls_x509_crt_t cert);
like. that's it. that's the whole vibe. β¨
π¦ ARGUMENTS π¦
gnutls_x509_crt_t certβ okay so this one should contain agnutls_x509_crt_ttype, no cap. it's the cert we're interrogating. be nice to it. π
π DESCRIPTION π
bestie. this function is gonna hand you the time this certificate was or will be expired. that's it. that's the whole job. past tense or future tense, doesn't matter, she reports it either way. lowkey iconic of her honestly π
β RETURNS β
- the expiration time β¨ β slay, everything worked
- or
(time_t)-1on error π β not slay, something went wrong
no but fr fr, always vibe check that return value. (time_t)-1 is the "it's giving disaster" signal and you do not want to mistake it for an actual timestamp. π
π REPORTING BUGS π
found a bug? don't just scream into the group chat, bestie, actually report it:
- report bugs to <bugs@gnutls.org> π§
- home page: <https://www.gnutls.org> π
they wanna hear from you, fr. π«Ά
π 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. periodt. no notes. π
π SEE ALSO π
the full documentation for gnutls is maintained as a Texinfo manual. and if the /usr/share/doc/gnutls/ directory does not contain the HTML form β rude, honestly β then visit:
https://www.gnutls.org/manual/
iykyk πβ¨
that's the whole page, bestie! every flag, every return value, every copyright line β all of it, none of it skipped, we ate and left zero crumbs π π
gnutls 3.8.13 β gnutls_x509_cr...expiration_time(3) β signing off, mwah! πβ¨π
π¦ 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