1gnutls_x509_trust_list_add_crls(3)  gnutls  gnutls_x509_trust_list_add_crls(3)
2
3
4

NAME

6       gnutls_x509_trust_list_add_crls - API function
7

SYNOPSIS

9       #include <gnutls/x509.h>
10
11       int    gnutls_x509_trust_list_add_crls(gnutls_x509_trust_list_t   list,
12       const gnutls_x509_crl_t * crl_list, int crl_size, unsigned  int  flags,
13       unsigned int verification_flags);
14

ARGUMENTS

16       gnutls_x509_trust_list_t list
17                   The structure of the list
18
19       const gnutls_x509_crl_t * crl_list
20                   A list of CRLs
21
22       int crl_size
23                   The length of the CRL list
24
25       unsigned int flags
26                   if  GNUTLS_TL_VERIFY_CRL is given the CRLs will be verified
27                   before being added.
28
29       unsigned int verification_flags
30                   gnutls_certificate_verify_flags    if    flags    specifies
31                   GNUTLS_TL_VERIFY_CRL
32

DESCRIPTION

34       This  function  will  add the given certificate revocation lists to the
35       trusted list. The list of CRLs must not be  deinitialized  during  this
36       structure's lifetime.
37
38       This  function must be called after gnutls_x509_trust_list_add_cas() to
39       allow verifying the CRLs for validity. If the flag  GNUTLS_TL_NO_DUPLI‐
40       CATES  is  given,  then any provided CRLs that are a duplicate, will be
41       deinitialized  and  not  added  to  the   list   (that   assumes   that
42       gnutls_x509_trust_list_deinit() will be called with all=1).
43

RETURNS

45       The number of added elements is returned.
46

SINCE

48       3.0
49

REPORTING BUGS

51       Report bugs to <bugs@gnutls.org>.
52       Home page: http://www.gnutls.org
53
54
56       Copyright © 2001-2014 Free Software Foundation, Inc..
57       Copying  and  distribution  of this file, with or without modification,
58       are permitted in any medium  without  royalty  provided  the  copyright
59       notice and this notice are preserved.
60

SEE ALSO

62       The  full  documentation  for gnutls is maintained as a Texinfo manual.
63       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
64       visit
65
66       http://www.gnutls.org/manual/
67
68gnutls                              3.3.29  gnutls_x509_trust_list_add_crls(3)
Impressum