@deftypefun {int} {gnutls_ocsp_resp_get_version} (gnutls_ocsp_resp_const_t @var{resp}) @var{resp}: should contain a @code{gnutls_ocsp_resp_t} type This function will return the version of the Basic OCSP Response. Typically this is always 1 indicating version 1. @strong{Returns:} version of Basic OCSP response, or a negative error code on error. @end deftypefun