1gnutls_certificate_set_ocsp_sgtnauttulss__rcegeqnruutetislftsi_cfaitlee_(s3e)t_ocsp_status_request_file(3)
2
3
4

NAME

6       gnutls_certificate_set_ocsp_status_request_file - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       int     gnutls_certificate_set_ocsp_status_request_file(gnutls_certifi‐
12       cate_credentials_t sc, const char * response_file, unsigned int flags);
13

ARGUMENTS

15       gnutls_certificate_credentials_t sc
16                   is a credentials structure.
17
18       const char * response_file
19                   a filename of the OCSP response
20
21       unsigned int flags
22                   should be zero
23

DESCRIPTION

25       This function sets the filename of an OCSP response, that will be  sent
26       to  the client if requests an OCSP certificate status. This is a conve‐
27       nience function which is inefficient on busy servers since the file  is
28       opened    on   every   access.   Use   gnutls_certificate_set_ocsp_sta‐
29       tus_request_function() to fine-tune file accesses.
30

RETURNS

32       On success, GNUTLS_E_SUCCESS (0)  is  returned,  otherwise  a  negative
33       error code is returned.
34

SINCE

36       3.1.3
37

REPORTING BUGS

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

SEE ALSO

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