gnutls_pkcs7_set_crl(3)

πŸ’– gnutls_pkcs7_set_crl(3) πŸ’–

okay bestie, pull up a chair because we're diving into the gnutls manual (section 3, the library-functions girlies) and today's main character is gnutls_pkcs7_set_crl. it's giving certificate-nerd realness and honestly? we're obsessed. πŸŽ€


✨ NAME ✨

gnutls_pkcs7_set_crl β€” it's an API function, periodt. that's the whole name, no notes. πŸ’…


🌸 SYNOPSIS 🌸

#include <gnutls/pkcs7.h>

int gnutls_pkcs7_set_crl(gnutls_pkcs7_t pkcs7, gnutls_x509_crl_t crl);

like, that's the vibe. copy it exactly, don't freestyle it, bestie. πŸ¦‹


🫢 ARGUMENTS 🫢

  • gnutls_pkcs7_t pkcs7 β€” the pkcs7 type. that's it, that's the whole description, she's lowkey mysterious but we respect it. ✨
  • gnutls_x509_crl_t crl β€” the DER encoded crl that you want added. DER encoded, ok? don't show up with some other format, she will not be accepting that. πŸ™ˆ

πŸ’œ DESCRIPTION πŸ’œ

so here's the tea: this function will add a parsed CRL to the PKCS7 or RFC2630 crl set. that's the entire job description and she does it flawlessly, no cap. πŸ’…

you hand her a crl, she slots it into the set. iconic behaviour. πŸ‘‘


⭐ RETURNS ⭐

on success you get GNUTLS_E_SUCCESS (which is 0, the little zero that could), otherwise you get a negative error value. so like, if your return value is negative, that's not a vibe check you passed, bestie. 😭


πŸ› REPORTING BUGS πŸ›

found a bug? spill. report bugs to <bugs@gnutls.org>. πŸ“§

home page, for when you need to lurk: 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. so like, go off, remix it, just keep the receipts. 🫢


🌈 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/

iykyk, the Texinfo girlies always know. 🧚


and that's the whole page, bestie! this was gnutls_pkcs7_set_crl(3) from the gnutls manual, version 3.8.13 β€” thanks for reading all the way through, you absolute legend. slay, hydrate, and may all your return values be GNUTLS_E_SUCCESS. mwah. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from