gnutls_ocsp_resp_import3
Api function
Usage
#include <gnutls/ocsp.h>
int gnutls_ocsp_resp_import(gnutls_ocsp_resp_t resp, const gnutls_datum_t * data);
Arguments
gnutls_ocsp_resp_t resp
|
The data to store the parsed response. |
|---|---|
const gnutls_datum_t * data
|
DER encoded OCSP response. |
Overview
This function will convert the given DER encoded OCSP response to the native gnutls_ocsp_resp_t format. It also decodes the Basic OCSP Response part, if any. The output will be stored in resp .
Returns
On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error value.
Releases
7 releases since Debian 8 (Jessie); the text changed 6 times.