gnutls_x509_crt_get_version(3)
β¨ gnutls_x509_crt_get_version β¨
okay bestie, welcome to the gnutls manual page for gnutls_x509_crt_get_version(3) π this one is literally so simple it's giving "one-line banger" energy β it's an API function, it tells you the version of a certificate, and then it gets out of your way. no cap.
πΈ NAME πΈ
gnutls_x509_crt_get_version β it's an API function, that's the whole vibe π
π¦ SYNOPSIS π¦
#include <gnutls/x509.h>
int gnutls_x509_crt_get_version(gnutls_x509_crt_t cert);
look at her. short. iconic. does exactly what it says on the tin π
π ARGUMENTS π
gnutls_x509_crt_t certβ bestie this one should contain agnutls_x509_crt_ttype, like that's the whole requirement, please hand her an actual cert and not a random pointer, i'm begging π
π DESCRIPTION π
so the way this works is: this function will return the version of the specified Certificate. that's it. that's the function. she's a one-job girlie and she ate π
β RETURNS β
- the version of certificate π
- or a negative error code on error π (yes, negative means something went wrong, check it, fr fr)
π REPORTING BUGS π
found a bug? not me manifesting that but okay β 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. (translation: share it, remix it, 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/
like, go read the whole thing, it's a lot but it's worth it, iykyk π§
and that's the page bestie!! π this lil guy is part of gnutls version 3.8.13, and yeah, gnutls_x509_crt_get_version(3) is literally the name on the door π
mwah, go get that certificate version πβ¨
π¦ 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