gnutls_x509_cr...bject_unique_id(3)

πŸ’– NAME πŸ’–

gnutls_x509_crt_set_subject_unique_id β€” bestie, this is the API function that sets a certificate's subject unique ID. That's it, that's the whole job, and she does it flawlessly. ✨

(Also, hi, this lives in the gnutls manual, section 3. Pull up a chair. 🫢)


🌸 SYNOPSIS 🌸

#include <gnutls/x509.h>

int gnutls_x509_crt_set_subject_unique_id(gnutls_x509_crt_t cert, const
void * id, size_t id_size);

okay so like, three things go in, one int comes out. iconic behavior honestly. πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • gnutls_x509_crt_t cert β€” a certificate of type gnutls_x509_crt_t. yes bestie, the certificate. the main character. the one we're editing. πŸ‘‘
  • const void * id β€” The unique ID. that's it, that's the vibe. it's the ID. it's unique. ✨
  • size_t id_size β€” Holds the size of the unique ID. gotta tell her how big the ID is, she's not a mind reader, she's a library. 😭

πŸ¦‹ DESCRIPTION πŸ¦‹

So basically: this function will set the X.509 certificate's subject unique ID field. πŸŽ€

That's the whole thing. You hand her a cert, you hand her an ID and its size, and she writes it into the subject unique ID field of the X.509 certificate. no drama, no fuss, just field-setting excellence. the way she just does it? obsessed. πŸ’–


⭐ RETURNS ⭐

On success, GNUTLS_E_SUCCESS (0) is returned β€” yay, slay, we love a zero. 🌈

Otherwise you get a negative error value. so like, if it's negative, that's not a vibe, check ur stuff. πŸ™ˆ


🧚 SINCE 🧚

3.4.7 β€” she's been serving since way back, no cap. a classic. πŸ’œ


πŸ’€ REPORTING BUGS πŸ’€

Found a bug? Not the girlies being messy β€” report bugs to <bugs@gnutls.org>. πŸ“§

Home page: https://www.gnutls.org β€” go say hi. 🌐


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 it, just keep the receipts. that's the deal. ✨)


πŸŽ€ 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, it's giving encyclopedia but make it cute. πŸ“š


and that's the page, bestie!! πŸ’…βœ¨ this was gnutls 3.8.13, and honestly? she ate. periodt. πŸŽ€πŸ¦‹πŸ’–

πŸ“¦ where this page comes from