gnutls_ocsp_resp_get_produced(3)
π gnutls_ocsp_resp_get_produced(3) β the gnutls girlies' manual π
okay bestie, so this one lives in the gnutls manual, and it's genuinely one of the cutest little getters you'll ever meet. no cap. it's the "when was this thing even signed" function, and it just... tells you. periodt.
β¨ NAME β¨
gnutls_ocsp_resp_get_produced β literally just an API function, and it's giving "give me the timestamp bestie" π
π SYNOPSIS π
#include <gnutls/ocsp.h>
time_t gnutls_ocsp_resp_get_produced(gnutls_ocsp_resp_const_t resp);
like, that's the whole thing. two lines. an icon. π
π¦ ARGUMENTS π¦
gnutls_ocsp_resp_const_t respβ bestie, this one should contain agnutls_ocsp_resp_ttype. that's the vibe check for this arg. no notes. πΈ
π DESCRIPTION π
so the way that this works is genuinely so simple it's almost rude: this function will return the time when the OCSP response was signed. that's it. that's the function. the signing time, handed to you, no drama, no side quests. obsessed. πβ¨
β RETURNS β
- the signing time π«Ά β slay, we love a happy path
- or
(time_t)-1on error π β not slay, but at least it tells you fr fr
heads up bestie: (time_t)-1 is the "it went wrong" signal here, so always check for it before you start celebrating. π
π REPORTING BUGS π
found something cursed? tell the devs, they want to know:
- Report bugs 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.
like... royalty-free distribution? that's main character energy fr. π
π₯ 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 read it, iykyk. πβ¨
mwah, that's the whole page bestie β brought to you by gnutls, version 3.8.13, and yeah this is the gnutls_ocsp_resp_get_produced(3) page, so you already know where to find it again. stay signed, stay timestamped, stay iconic. ππ¦π
π¦ 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