1gnutls_certificate_set_verify_limits(g3n)utglnsutls_certificate_set_verify_limits(3)
2
3
4

NAME

6       gnutls_certificate_set_verify_limits  - set the upper limits to be used
7       at certificate verification
8

SYNOPSIS

10       #include <gnutls/gnutls.h>
11
12       void    gnutls_certificate_set_verify_limits(gnutls_certificate_creden‐
13       tials_t res, unsigned int max_bits, unsigned int max_depth);
14

ARGUMENTS

16       gnutls_certificate_credentials_t res
17                   is a gnutls_certificate_credentials structure
18
19       unsigned int max_bits
20                   is the number of bits of an acceptable certificate (default
21                   8200)
22
23       unsigned int max_depth
24                   is maximum depth of the verification of a certificate chain
25                   (default 5)
26

DESCRIPTION

28       This  function  will set some upper limits for the default verification
29       function, gnutls_certificate_verify_peers2(), to avoid denial  of  ser‐
30       vice attacks.  You can set them to zero to disable limits.
31

REPORTING BUGS

33       Report    bugs    to    <bug-gnutls@gnu.org>.     GnuTLS   home   page:
34       http://www.gnu.org/software/gnutls/ General help  using  GNU  software:
35       http://www.gnu.org/gethelp/
36
38       Copyright © 2008 Free Software Foundation.
39       Copying  and  distribution  of this file, with or without modification,
40       are permitted in any medium  without  royalty  provided  the  copyright
41       notice and this notice are preserved.
42

SEE ALSO

44       The  full  documentation  for gnutls is maintained as a Texinfo manual.
45       If the info and gnutls programs are properly installed  at  your  site,
46       the command
47
48              info gnutls
49
50       should give you access to the complete manual.
51
52
53
54gnutls                               2.8g.n6utls_certificate_set_verify_limits(3)
Impressum