1gnutls_ocsp_req_add_cert(3)         gnutls         gnutls_ocsp_req_add_cert(3)
2
3
4

NAME

6       gnutls_ocsp_req_add_cert - API function
7

SYNOPSIS

9       #include <gnutls/ocsp.h>
10
11       int gnutls_ocsp_req_add_cert(gnutls_ocsp_req_t req, gnutls_digest_algo‐
12       rithm_t digest, gnutls_x509_crt_t issuer, gnutls_x509_crt_t cert);
13

ARGUMENTS

15       gnutls_ocsp_req_t req
16                   should contain a gnutls_ocsp_req_t type
17
18       gnutls_digest_algorithm_t digest
19                   hash algorithm, a gnutls_digest_algorithm_t value
20
21       gnutls_x509_crt_t issuer
22                   issuer of  subject certificate
23
24       gnutls_x509_crt_t cert
25                   certificate to request status for
26

DESCRIPTION

28       This function will add another request to the OCSP request for  a  par‐
29       ticular certificate.  The issuer name hash, issuer key hash, and serial
30       number fields is populated as follows.  The issuer name and the  serial
31       number  is  taken  from  cert .  The issuer key is taken from  issuer .
32       The hashed values will be hashed using the  digest algorithm,  normally
33       GNUTLS_DIG_SHA1.
34

RETURNS

36       On  success,  GNUTLS_E_SUCCESS  (0)  is  returned, otherwise a negative
37       error code is returned.
38

REPORTING BUGS

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

SEE ALSO

51       The full documentation for gnutls is maintained as  a  Texinfo  manual.
52       If  the /usr/share/doc/gnutls/ directory does not contain the HTML form
53       visit
54
55       http://www.gnutls.org/manual/
56
57gnutls                               3.6.5         gnutls_ocsp_req_add_cert(3)
Impressum