gnutls_ocsp_resp_export23
Api function
Usage
#include <gnutls/ocsp.h>
int gnutls_ocsp_resp_export2(gnutls_ocsp_resp_const_t resp, gnutls_datum_t * data, gnutls_x509_crt_fmt_t fmt);
Arguments
gnutls_ocsp_resp_const_t resp
|
Holds the OCSP response |
|---|---|
gnutls_datum_t * data
|
newly allocate buffer holding DER or PEM encoded OCSP response |
gnutls_x509_crt_fmt_t fmt
|
DER or PEM |
Overview
This function will export the OCSP response to DER or PEM format.
Returns
In case of failure a negative error code will be returned, and 0 on success.
Since
3.6.3
Releases
5 releases since Debian 10 (Buster); the text changed 4 times.