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,  unsigned  crl_size,  unsigned  int
13       flags, unsigned int verification_flags);
14

ARGUMENTS

16       gnutls_x509_trust_list_t list
17                   The list
18
19       const gnutls_x509_crl_t * crl_list
20                   A list of CRLs
21
22       unsigned crl_size
23                   The length of the CRL list
24
25       unsigned int flags
26                   flags from gnutls_trust_list_flags_t
27
28       unsigned int verification_flags
29                   gnutls_certificate_verify_flags    if    flags    specifies
30                   GNUTLS_TL_VERIFY_CRL
31

DESCRIPTION

33       This function will add the given certificate revocation  lists  to  the
34       trusted  list.  The  CRLs in  crl_list must not be deinitialized during
35       the lifetime of  list .
36
37       This function must be called after gnutls_x509_trust_list_add_cas()  to
38       allow  verifying the CRLs for validity. If the flag GNUTLS_TL_NO_DUPLI‐
39       CATES is given, then the final CRL  list  will  not  contain  duplicate
40       entries.
41
42       If       the      flag      GNUTLS_TL_NO_DUPLICATES      is      given,
43       gnutls_x509_trust_list_deinit() must  be  called  with  parameter   all
44       being 1.
45
46       If  flag GNUTLS_TL_VERIFY_CRL is given the CRLs will be verified before
47       being added, and if verification fails, they will be skipped.
48

RETURNS

50       The number of added  elements  is  returned;  that  includes  duplicate
51       entries.
52

SINCE

54       3.0
55

REPORTING BUGS

57       Report bugs to <bugs@gnutls.org>.
58       Home page: https://www.gnutls.org
59
60
62       Copyright © 2001- Free Software Foundation, Inc., and others.
63       Copying  and  distribution  of this file, with or without modification,
64       are permitted in any medium  without  royalty  provided  the  copyright
65       notice and this notice are preserved.
66

SEE ALSO

68       The  full  documentation  for gnutls is maintained as a Texinfo manual.
69       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
70       visit
71
72       https://www.gnutls.org/manual/
73
74gnutls                              3.6.15  gnutls_x509_trust_list_add_crls(3)
Impressum