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 typegnutls_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 πΈ
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
- alpine 3.22: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.23: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.24: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- arch rolling: gnutls 3.8.13-3 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- ubuntu stonking: gnutls-doc 3.8.13-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms