gnutls_x509_ext_ct_scts_init(3)

πŸ’– gnutls_x509_ext_ct_scts_init(3) πŸ’–

okay bestie, welcome to the gnutls manual, the iconic TLS/library situation ✨ this little page lives in the gnutls manual set and it's all about one very specific, very slay function.


🌸 NAME 🌸

gnutls_x509_ext_ct_scts_init β€” it's an API function, periodt πŸ’…


✨ SYNOPSIS ✨

#include <gnutls/x509-ext.h>

int gnutls_x509_ext_ct_scts_init(gnutls_x509_ct_scts_t * scts);

πŸŽ€ ARGUMENTS πŸŽ€

  • gnutls_x509_ct_scts_t * scts β€” The SCT list, babe. That's the thing you're handing over. That's it. That's the whole arg 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

So what does this do? This function will initialize a Certificate Transparency SCT list. That's the vibe. You give it your SCT list and it gets it all set up and ready to go 🌈

It's giving "setup era", not "do the whole thing era" β€” it just initializes.


⭐ RETURNS ⭐

  • GNUTLS_E_SUCCESS (0) on success πŸŽ‰
  • otherwise a negative error value 😭

so like, check your return value, fr fr. zero means you ate, negative means something went sideways.


πŸ’€ REPORTING BUGS πŸ’€

Found a bug? Not you being the main character of a bug report, but if you gotta, 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.

(ngl that's a very generous license, we love that for us πŸ’œ)


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

like, go read the whole thing, iykyk πŸ“š


and that's the whole page bestie!! this was gnutls version 3.8.13, straight from the gnutls manual, mwah πŸ’‹ go initialize something iconic βœ¨πŸ¦‹πŸ’…

πŸ“¦ where this page comes from