1gnutls_ocsp_resp_get_responder(3)   gnutls   gnutls_ocsp_resp_get_responder(3)
2
3
4

NAME

6       gnutls_ocsp_resp_get_responder - API function
7

SYNOPSIS

9       #include <gnutls/ocsp.h>
10
11       int       gnutls_ocsp_resp_get_responder(gnutls_ocsp_resp_t       resp,
12       gnutls_datum_t * dn);
13

ARGUMENTS

15       gnutls_ocsp_resp_t resp
16                   should contain a gnutls_ocsp_resp_t type
17
18       gnutls_datum_t * dn
19                   newly allocated buffer with name
20

DESCRIPTION

22       This function will extract the name of the Basic OCSP Response  in  the
23       provided  buffer.  The name will be in the form "C=xxxx,O=yyyy,CN=zzzz"
24       as described in RFC2253. The output  string  will  be  ASCII  or  UTF-8
25       encoded, depending on the certificate data.
26
27       If the responder ID is not a name but a hash, this function will return
28       zero and the  dn elements will be set to NULL.
29
30       The caller needs to deallocate memory by calling gnutls_free() on
31        dn ->data.
32
33       This function does not output a fully RFC4514 compliant string, if that
34       is required see gnutls_ocsp_resp_get_responder2().
35

RETURNS

37       On  success,  GNUTLS_E_SUCCESS  (0)  is  returned, otherwise a negative
38       error code is returned. When no data exist it will return  success  and
39       set  dn elements to zero.
40

REPORTING BUGS

42       Report bugs to <bugs@gnutls.org>.
43       Home page: https://www.gnutls.org
44
45
47       Copyright © 2001-2019 Free Software Foundation, Inc., and others.
48       Copying  and  distribution  of this file, with or without modification,
49       are permitted in any medium  without  royalty  provided  the  copyright
50       notice and this notice are preserved.
51

SEE ALSO

53       The  full  documentation  for gnutls is maintained as a Texinfo manual.
54       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
55       visit
56
57       https://www.gnutls.org/manual/
58
59gnutls                               3.6.7   gnutls_ocsp_resp_get_responder(3)
Impressum