gnutls_ocsp_resp_get_version3
Api function
Usage
#include <gnutls/ocsp.h>
int gnutls_ocsp_resp_get_version(gnutls_ocsp_resp_const_t resp);
Arguments
- gnutls_ocsp_resp_const_t resp
-
should contain a
gnutls_ocsp_resp_ttype
Overview
This function will return the version of the Basic OCSP Response. Typically this is always 1 indicating version 1.
Returns
version of Basic OCSP response, or a negative error code on error.
Releases
7 releases since Debian 8 (Jessie); the text changed 6 times.