1gnutls_x509_trust_list_verify_named_cggrnntuu(tt3ll)ss_x509_trust_list_verify_named_crt(3)
2
3
4

NAME

6       gnutls_x509_trust_list_verify_named_crt - API function
7

SYNOPSIS

9       #include <gnutls/x509.h>
10
11       int    gnutls_x509_trust_list_verify_named_crt(gnutls_x509_trust_list_t
12       list, gnutls_x509_crt_t cert, const void * name, size_t name_size,  un‐
13       signed int flags, unsigned int * voutput, gnutls_verify_output_function
14       func);
15

ARGUMENTS

17       gnutls_x509_trust_list_t list
18                   The list
19
20       gnutls_x509_crt_t cert
21                   is the certificate to be verified
22
23       const void * name
24                   is the certificate's name
25
26       size_t name_size
27                   is the certificate's name size
28
29       unsigned int flags
30                   Flags that may be used to  change  the  verification  algo‐
31                   rithm.  Use  OR of the gnutls_certificate_verify_flags enu‐
32                   merations.
33
34       unsigned int * voutput
35                   will hold the certificate verification output.
36
37       gnutls_verify_output_function func
38                   If non-null will be called on each chain element  verifica‐
39                   tion with the output.
40

DESCRIPTION

42       This  function  will  try to find a certificate that is associated with
43       the provided name --see  gnutls_x509_trust_list_add_named_crt().  If  a
44       match is found the certificate is considered valid. In addition to that
45       this function will also check CRLs. The  voutput parameter will hold an
46       OR'ed sequence of gnutls_certificate_status_t flags.
47
48       Additionally  a  certificate verification profile can be specified from
49       the ones in gnutls_certificate_verification_profiles_t by ORing the re‐
50       sult of GNUTLS_PROFILE_TO_VFLAGS() to the verification flags.
51

RETURNS

53       On  success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative er‐
54       ror value.
55

SINCE

57       3.0.0
58

REPORTING BUGS

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

SEE ALSO

71       The full documentation for gnutls is maintained as  a  Texinfo  manual.
72       If  the /usr/share/doc/gnutls/ directory does not contain the HTML form
73       visit
74
75       https://www.gnutls.org/manual/
76
77gnutls                              g3n.u7t.l6s_x509_trust_list_verify_named_crt(3)
Impressum