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 a gnutls_ocsp_resp_t type. 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)-1 on 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:


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