diff options
Diffstat (limited to 'doc/functions/gnutls_ocsp_resp_get_signature')
-rw-r--r-- | doc/functions/gnutls_ocsp_resp_get_signature | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/functions/gnutls_ocsp_resp_get_signature b/doc/functions/gnutls_ocsp_resp_get_signature new file mode 100644 index 0000000..1f51fd8 --- /dev/null +++ b/doc/functions/gnutls_ocsp_resp_get_signature @@ -0,0 +1,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 |