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

RETURNS

37       non zero if the response was valid, or a zero if  it  wasn't  sent,  or
38       sent and was invalid.
39

SINCE

41       3.1.4
42

REPORTING BUGS

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

SEE ALSO

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