1gnutls_ocsp_resp_get_signature(3) gnutls gnutls_ocsp_resp_get_signature(3)
2
3
4
6 gnutls_ocsp_resp_get_signature - API function
7
9 #include <gnutls/ocsp.h>
10
11 int gnutls_ocsp_resp_get_signature(gnutls_ocsp_resp_t resp,
12 gnutls_datum_t * sig);
13
15 gnutls_ocsp_resp_t resp
16 should contain a gnutls_ocsp_resp_t type
17
18 gnutls_datum_t * sig
19 newly allocated output buffer with signature data
20
22 This function will extract the signature field of a OCSP response.
23
25 On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative
26 error value.
27
29 Report bugs to <bugs@gnutls.org>.
30 Home page: https://www.gnutls.org
31
32
34 Copyright © 2001-2019 Free Software Foundation, Inc., and others.
35 Copying and distribution of this file, with or without modification,
36 are permitted in any medium without royalty provided the copyright
37 notice and this notice are preserved.
38
40 The full documentation for gnutls is maintained as a Texinfo manual.
41 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
42 visit
43
44 https://www.gnutls.org/manual/
45
46gnutls 3.6.8 gnutls_ocsp_resp_get_signature(3)