gnutls_x509_crl_get_signature(3)

✨ NAME ✨

gnutls_x509_crl_get_signature β€” the API function that pulls the signature field out of a CRL, and yes bestie, that's literally the whole vibe πŸ’…

This one lives in the gnutls manual, page gnutls_x509_crl_get_signature(3), so consider this your official invitation πŸŽ€


🌸 SYNOPSIS 🌸

#include <gnutls/x509.h>

int gnutls_x509_crl_get_signature(gnutls_x509_crl_t crl, char * sig,
size_t * sizeof_sig);

πŸ¦‹ ARGUMENTS πŸ¦‹

  • gnutls_x509_crl_t crl β€” this one should contain a gnutls_x509_crl_t type. That's the requirement, that's the assignment, no notes πŸ’–
  • char * sig β€” a pointer to where the signature part is gonna get copied. And plot twist: it may be null. So if you're just here to vibe and peek at sizes, you can absolutely pass null πŸ™ˆ
  • size_t * sizeof_sig β€” this starts out holding the size of sig. So you tell it how much room you've got, and it works from there ✨

πŸ‘‘ DESCRIPTION πŸ‘‘

Okay so here's the tea: this function will extract the signature field of a CRL. That's it. That's the job. It's giving "one task, done flawlessly" main character energy πŸ”₯


πŸ’– RETURNS πŸ’–

On success, GNUTLS_E_SUCCESS (0) is returned. Otherwise you get a negative error value β€” so if that number comes back negative, that's your sign, no cap 😭


πŸ› REPORTING BUGS πŸ›

Report bugs to <bugs@gnutls.org>.

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

(If something's broken, tell the gnutls girlies directly, they wanna know fr fr 🫢)


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, slay, that's a genuinely generous license and we respect it 🌈


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


And that's the whole page, bestie!! πŸ’œ This was gnutls 3.8.13 dropping the gnutls_x509_crl_get_signature(3) knowledge β€” go forth, extract those signatures, and remember: pass NULL if you're just checking the size, iykyk 🧚✨

πŸ“¦ where this page comes from