GNUTLS_X509_CRL_GET_SIGNATURE_OID(3)
π gnutls_x509_crl_get_signature_oid π
okay bestie, sit down, hydrate, because we're about to read a CRL's signature OID and it's actually kind of iconic. this page lives in the gnutls manual, and the whole vibe is: "the algorithm name came back cursed, now what?" π¦
β¨ NAME β¨
gnutls_x509_crl_get_signature_oid β the API function that hands you the OID of the signature algorithm used to sign a CRL. no cap. π
β¨ SYNOPSIS β¨
#include <gnutls/x509.h>
int gnutls_x509_crl_get_signature_oid(gnutls_x509_crl_t crl, char * oid,
size_t * oid_size);
β¨ ARGUMENTS β¨
gnutls_x509_crl_t crlβ bestie this should contain agnutls_x509_crl_ttype. that's the whole requirement. it's giving "bring your own CRL". πchar * oidβ a pointer to a buffer that's gonna hold the OID. and guess what, it may be null, so if you're just vibe-checking the size first, you're so valid. β¨size_t * oid_sizeβ this one initially holds the size ofoid. it comes in knowing things. it's the main character. π
β¨ DESCRIPTION β¨
so this function literally returns the OID of the signature algorithm that has been used to sign this CRL. that's it. that's the whole job. π«Ά
and why would you even need that? because this function is useful in the case where gnutls_x509_crl_get_signature_algorithm() returned GNUTLS_SIGN_UNKNOWN. yeah. when the nice friendly algorithm lookup is like "idk her π", you come here and get the raw OID instead. iykyk.
β¨ RETURNS β¨
zero, or a negative error code on error. so like, 0 is the slay, anything negative is the not-slay. π
β¨ SINCE β¨
3.5.0 β an elder. a classic. still serving. πΈ
β¨ REPORTING BUGS β¨
found a bug? do NOT suffer in silence, tell the girlies:
- Report bugs 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. so yes, you may absolutely redistribute this, just keep the receipt. 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/
like, go read the whole thing, it's a saga, it's a journey, it's giving encyclopedia but make it cute. πβ¨
okay that's the whole page, you ate that, go forth and OID responsibly π π
this little love letter came to you from the gnutls manual, version 3.8.13 β mwah, bye bestie! ππ¦π
π¦ 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