gnutls_x509_crl_get_dn_oid(3)
π NAME π
gnutls_x509_crl_get_dn_oid β bestie, it's an API function π
β¨ SYNOPSIS β¨
#include <gnutls/x509.h>
int gnutls_x509_crl_get_dn_oid(gnutls_x509_crl_t crl, unsigned indx,
void * oid, size_t * sizeof_oid);
πΈ ARGUMENTS πΈ
gnutls_x509_crl_t crlβ this one should contain agnutls_x509_crl_ttype. yes, the type is literally named after itself, we don't make the rules πunsigned indxβ tells it which DN OID you want. use(0)to grab the very first one, like the main character you are πvoid * oidβ a pointer to store the OID in. it may benull, no pressure π«Άsize_t * sizeof_oidβ starts out holding the size ofoid. it's giving "here's how much room I brought" energy
π¦ DESCRIPTION π¦
okay so this function will extract the requested OID of the name of the CRL issuer, specified by the given index. that's it, that's the vibe β¨
and if oid is null then only the size will be filled. no OID, just size. iconic behavior honestly π
π RETURNS π
GNUTLS_E_SHORT_MEMORY_BUFFERβ your buffer said "not today" because it wasn't long enough π and when that happens,sizeof_oidgets updated with the required size, so at least you get the tea for next time π0β returned on success. slay π
π REPORTING BUGS π
found a bug? 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. (fr fr, go ahead and copy it, just keep the receipts π)
π 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 π this little legend lives in the gnutls manual, page 3, version 3.8.13 β go forth and get those OIDs, you absolute icon π§β¨
π¦ 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