summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_ocsp_req_export
blob: c9c52f88c45b2e646f81131ef5132bc665bd54c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
@deftypefun {int} {gnutls_ocsp_req_export} (gnutls_ocsp_req_const_t @var{req}, gnutls_datum_t * @var{data})
@var{req}: Holds the OCSP request

@var{data}: newly allocate buffer holding DER encoded OCSP request

This function will export the OCSP request to DER format.

@strong{Returns:} In case of failure a negative error code will be
returned, and 0 on success.
@end deftypefun