GNUTLS_X509_CRQ_GET_SIGNATURE_OID(3)
β¨ NAME β¨
gnutls_x509_crq_get_signature_oid β bestie, this is an API function and it's here to hand you the OID of the thing that signed your cert request π
πΈ SYNOPSIS πΈ
#include <gnutls/x509.h>
int gnutls_x509_crq_get_signature_oid(gnutls_x509_crq_t crq, char * oid,
size_t * oid_size);
π ARGUMENTS π
gnutls_x509_crq_t crqβ this one should contain agnutls_x509_crq_ttype. that's the vibe check it has to pass, no cap π¦char * oidβ a pointer to a buffer that's gonna hold the OID. and yes, it may benullπsize_t * oid_sizeβ this starts out holding the size ofoid, so it comes in pre-loaded, okurrr π
π DESCRIPTION π
okay so here's the tea β β this function returns the OID of the signature algorithm that was used to sign this certificate request. literally what it says on the tin, bestie.
and the way it's actually useful? it's giving backup plan, because when gnutls_x509_crq_get_signature_algorithm() came back with GNUTLS_SIGN_UNKNOWN, this is the one you call next πβ¨
β RETURNS β
zero, or a negative error code if something went wrong π that's it, that's the whole return value.
π SINCE π
3.5.0 β it's been around, it's iconic, it ate π
π«Ά REPORTING BUGS π«Ά
found something cursed? report bugs to <bugs@gnutls.org>. they wanna hear it fr fr π
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. slay, no strings attached π
π¦ 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, then bestie you gotta visit:
https://www.gnutls.org/manual/
and that's the whole page, mwah π this was gnutls_x509_crq_get_signature_oid from the gnutls 3.8.13 manual β go off, read ur man pages, drink water, ily π«Άβ¨
π¦ 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