gnutls_ocsp_req_set_nonce(3)

πŸ’– gnutls_ocsp_req_set_nonce(3) πŸ’–

okay so bestie, welcome to the gnutls manual, page gnutls_ocsp_req_set_nonce πŸŽ€ this one's an API function and it's honestly so straightforward you're gonna slay it.


✨ NAME ✨

gnutls_ocsp_req_set_nonce β€” API function 🫢


🌸 SYNOPSIS 🌸

#include <gnutls/ocsp.h>

int gnutls_ocsp_req_set_nonce(gnutls_ocsp_req_t req, unsigned int
       critical, const gnutls_datum_t * nonce);

πŸ¦‹ ARGUMENTS πŸ¦‹

  • gnutls_ocsp_req_t req β€” this one should contain a gnutls_ocsp_req_t type. like, that's the whole vibe of it πŸ’…
  • unsigned int critical β€” the critical flag, and ngl normally it's false. that's just how she is πŸ™ˆ
  • const gnutls_datum_t * nonce β€” the nonce data itself, the star of the show ⭐

πŸ‘‘ DESCRIPTION πŸ‘‘

This function will add a nonce extension to the OCSP request. periodt. πŸ”₯

and listen β€” calling this function multiple times will overwrite the values from earlier calls. so no, you can't stack them like friendship bracelets, bestie 😭 last call wins, fr fr.


πŸ’€ RETURNS πŸ’€

On success, GNUTLS_E_SUCCESS (0) is returned ✨ otherwise a negative error code is returned. that's it, that's the whole deal.


πŸ› REPORTING BUGS πŸ›

Found a bug? not me being dramatic but please tell the devs 🫢

Report bugs to <bugs@gnutls.org>.

Home page: https://www.gnutls.org


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. iconic behaviour honestly πŸ‘‘


🌈 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, you ate that πŸ’– this was gnutls 3.8.13, page gnutls_ocsp_req_set_nonce(3), and yeah the footer's just the version and the page name living their best life down there 🧚 go forth and set those nonces, bestie ✨

πŸ“¦ where this page comes from