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 a gnutls_x509_crt_t type, 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 © 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