@deftypefun {int} {gnutls_x509_crt_get_version} (gnutls_x509_crt_t @var{cert}) @var{cert}: should contain a @code{gnutls_x509_crt_t} type This function will return the version of the specified Certificate. @strong{Returns:} version of certificate, or a negative error code on error. @end deftypefun