1gnutls_x509_name_constraints_get_exgcnlguuntduletsdl_(sx35)09_name_constraints_get_excluded(3)
2
3
4

NAME

6       gnutls_x509_name_constraints_get_excluded - API function
7

SYNOPSIS

9       #include <gnutls/x509.h>
10
11       int     gnutls_x509_name_constraints_get_excluded(gnutls_x509_name_con‐
12       straints_t nc, unsigned idx, unsigned * type, gnutls_datum_t * name);
13

ARGUMENTS

15       gnutls_x509_name_constraints_t nc
16                   the extracted name constraints
17
18       unsigned idx
19                   the index of the constraint
20
21       unsigned * type
22                   the  type  of  the  constraint  (of  type  gnutls_x509_sub‐
23                   ject_alt_name_t)
24
25       gnutls_datum_t * name
26                   the name in the constraint (of the specific type)
27

DESCRIPTION

29       This function will return an intermediate type containing the name con‐
30       straints of the provided CA certificate. That structure can be used  in
31       combination with gnutls_x509_name_constraints_check() to verify whether
32       a server's name is in accordance with the constraints.
33
34       The name should be treated as constant and valid for  the  lifetime  of
35       nc .
36

RETURNS

38       On       success,      GNUTLS_E_SUCCESS      (0)      is      returned,
39       GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE if the extension is not  present,
40       otherwise a negative error value.
41

SINCE

43       3.3.0
44

REPORTING BUGS

46       Report bugs to <bugs@gnutls.org>.
47       Home page: http://www.gnutls.org
48
49
51       Copyright © 2001-2018 Free Software Foundation, Inc., and others.
52       Copying  and  distribution  of this file, with or without modification,
53       are permitted in any medium  without  royalty  provided  the  copyright
54       notice and this notice are preserved.
55

SEE ALSO

57       The  full  documentation  for gnutls is maintained as a Texinfo manual.
58       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
59       visit
60
61       http://www.gnutls.org/manual/
62
63gnutls                            gnu3t.l6s._5x509_name_constraints_get_excluded(3)
Impressum