gnutls_pkcs12_bag_set_crl(3)

✨ gnutls_pkcs12_bag_set_crl ✨

okay bestie, so this one is a lil function from the gnutls library β€” it lives in the gnutls manual, and honestly? it's giving "small but mighty". it's literally called gnutls_pkcs12_bag_set_crl and it's an API function. that's the whole vibe. πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

#include <gnutls/pkcs12.h>

int gnutls_pkcs12_bag_set_crl(gnutls_pkcs12_bag_t bag, gnutls_x509_crl_t
crl);

like, that's the whole signature. cute, right? πŸ¦‹


🌸 ARGUMENTS 🌸

  • gnutls_pkcs12_bag_t bag β€” the bag. yeah. that's it. it's the bag. the container. the little handbag of crypto goodies, if you will. πŸ‘›
  • gnutls_x509_crl_t crl β€” the CRL to be copied. not moved, not borrowed, copied. noted. πŸ’…

πŸ’– DESCRIPTION πŸ’–

so what does it actually do? it inserts the given CRL into the bag. that's the tea. β˜•

and the way that it does that is… it's just a wrapper over gnutls_pkcs12_bag_set_data(). so if you already know that one, you already know this one. no cap. it's the same energy, just wearing a cuter outfit. ✨


🌈 RETURNS 🌈

on success, you get the index of the added bag. yesss, an index, like a lil seat number for where your CRL just sat down. πŸͺ‘

on failure? a negative error code. 😭 she said "no ❀️" and gave you a negative number instead. check it, don't ignore it, fr fr.


πŸ™ˆ REPORTING BUGS πŸ™ˆ

found a bug? bestie, report bugs to <bugs@gnutls.org>. they wanna know, i promise.

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.

yes, that's the actual legal text, and yes, it still slaps. keep the copyright notice and the notice intact and you're golden. πŸ’œ

πŸ”₯ 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, go visit:

https://www.gnutls.org/manual/

like, the whole manual is right there. main character documentation energy. go read it. πŸ“š


gnutls Β· version 3.8.13 Β· page gnutls_pkcs12_bag_set_crl(3)

okay that's the whole page, babe β€” gnutls 3.8.13, the gnutls_pkcs12_bag_set_crl(3) man page, and this little section header was the top of it. now go forth and put CRLs in bags responsibly. mwah πŸ’‹πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from