gnutls_x509_crl_get_number(3)

πŸ’– gnutls_x509_crl_get_number(3) πŸ’–

okay bestie, so this one lives in the gnutls manual section, and it's literally the function that goes and grabs the CRL number extension for you. it's giving "i just need that one field, please and thank you" energy. πŸŽ€


✨ NAME ✨

gnutls_x509_crl_get_number β€” API function. yes, that's the whole name section, she's lowkey iconic for being that concise. πŸ’…


🌸 SYNOPSIS 🌸

#include <gnutls/x509.h>

int gnutls_x509_crl_get_number(gnutls_x509_crl_t crl, void * ret, size_t
* ret_size, unsigned int * critical);

like. look at her. four arguments, one return value, zero drama. πŸ¦‹


🫢 ARGUMENTS 🫢

  • gnutls_x509_crl_t crl β€” bestie this should contain a gnutls_x509_crl_t type. that's it, that's the requirement. πŸ’–
  • void * ret β€” the place where the number will be copied. it's the destination, the moment, the main character. ✨
  • size_t * ret_size β€” holds the size of the result field. she's the one keeping track of how much room we're working with. πŸ“
  • unsigned int * critical β€” will be non-zero if the extension is marked as critical (may be null). so she can be null, she's flexible, we respect her boundaries. πŸ™ˆ

πŸ‘‘ DESCRIPTION πŸ‘‘

This function will return the CRL number extension. This is obtained by the CRL Number extension field (2.5.29.20). no cap, that's the OID right there. 🌈


⭐ RETURNS ⭐

On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error code in case of an error. so like, zero = slay, negative = not slay, but it's still information and we love her for telling us. πŸ’€


πŸ•°οΈ SINCE πŸ•°οΈ

2.8.0 β€” she's been here since 2.8.0, a true veteran, an OG, the blueprint. πŸ”₯


πŸ› REPORTING BUGS πŸ›

Report bugs to <bugs@gnutls.org>. Home page: https://www.gnutls.org

like please actually report them, don't just suffer in silence, the devs want to 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.

yes bestie, you can copy and distribute it, just keep the notice. that's the whole deal. no strings, just 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/


and that's the whole page, bestie!! this cutie is from gnutls 3.8.13, and the page header/footer business is gnutls_x509_crl_get_number(3) under the gnutls manual. go forth and read your CRL numbers. periodt. πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from