gnutls_x509_crt_get_signature(3)
β¨ gnutls_x509_crt_get_signature β¨
okay bestie, so this is a page from the gnutls manual, and today's main character is gnutls_x509_crt_get_signature β she's an API function and she's here to pull the signature field out of a certificate for you. no cap. π
πΈ NAME πΈ
gnutls_x509_crt_get_signature β the API function that gets the signature off a cert π
π¦ SYNOPSIS π¦
#include <gnutls/x509.h>
int gnutls_x509_crt_get_signature(gnutls_x509_crt_t cert, char * sig,
size_t * sig_size);
π ARGUMENTS π
gnutls_x509_crt_t certβ this one should contain agnutls_x509_crt_ttype. that's the whole vibe. it's your certificate, your girl, your icon. πchar * sigβ a pointer to where the signature part is gonna get copied. and yes, she may be null β lowkey chill like that. πsize_t * sig_sizeβ this one starts out holding the size ofsig. so like, she already knows how much room she's working with before anything even happens. respect. β¨
π₯ DESCRIPTION π₯
so what does she actually do? this function will extract the signature field of a certificate. that's it, that's the whole job, and she does it flawlessly. the way that a function can just... do exactly one thing and do it well?? obsessed. π
β RETURNS β
on success, GNUTLS_E_SUCCESS (0) is returned. anything else and you get a negative error value β so if you see a negative number, that's not a vibe, that's a problem. π
π REPORTING BUGS π
found a bug? not me being the messenger but like, please report it to <bugs@gnutls.org>.
home page: https://www.gnutls.org
π 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. (translation: you're free to share her, just keep the receipts. periodt. π )
π 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!! go forth and extract those signatures, you've got this π«Ά
this has been the gnutls manual, version 3.8.13, page gnutls_x509_crt_get_signature(3) β mwah, slay, bye!! πβ¨π¦
π¦ 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