summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_ocsp_resp_get_signature
blob: 1f51fd8290a7564c7c48d2b7e7bbb559ff5903c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
@deftypefun {int} {gnutls_ocsp_resp_get_signature} (gnutls_ocsp_resp_const_t @var{resp}, gnutls_datum_t * @var{sig})
@var{resp}: should contain a @code{gnutls_ocsp_resp_t}  type

@var{sig}: newly allocated output buffer with signature data

This function will extract the signature field of a OCSP response.

@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS}  (0) is returned, otherwise a
negative error value.
@end deftypefun