1gnutls_ocsp_status_request_is_checkedg(n3ug)tnlustls_ocsp_status_request_is_checked(3)
2
3
4

NAME

6       gnutls_ocsp_status_request_is_checked - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       int   gnutls_ocsp_status_request_is_checked(gnutls_session_t   session,
12       unsigned int flags);
13

ARGUMENTS

15       gnutls_session_t session
16                   is a gnutls session
17
18       unsigned int flags
19                   should be zero or GNUTLS_OCSP_SR_IS_AVAIL
20

DESCRIPTION

22       When flags are zero this function returns non-zero if a valid OCSP sta‐
23       tus response was included in the TLS handshake. That is, an OCSP status
24       response which is not too old or superseded. It returns zero otherwise.
25
26       When  the  flag  GNUTLS_OCSP_SR_IS_AVAIL  is  specified,  the  function
27       returns  non-zero  if an OCSP status response was included in the hand‐
28       shake even if it was invalid. Otherwise, if no OCSP status response was
29       included,  it returns zero. The GNUTLS_OCSP_SR_IS_AVAIL flag was intro‐
30       duced in GnuTLS 3.4.0.
31
32       This is a helper function when needing to decide whether to perform  an
33       explicit  OCSP  validity  check  on  the  peer's certificate. Should be
34       called after any of gnutls_certificate_verify_peers*() are called.
35
36       This function is always usable on client side, but on server side  only
37       under  TLS  1.3,  which  is  the  first  version  of  TLS  that  allows
38       cliend-side OCSP responses.
39

RETURNS

41       non zero if the response was valid, or a zero if  it  wasn't  sent,  or
42       sent and was invalid.
43

SINCE

45       3.1.4
46

REPORTING BUGS

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

SEE ALSO

59       The  full  documentation  for gnutls is maintained as a Texinfo manual.
60       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
61       visit
62
63       https://www.gnutls.org/manual/
64
65gnutls                              3.6g.n1u1tls_ocsp_status_request_is_checked(3)
Impressum