Blob Blame History Raw




@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