1gnutls_x509_name_constraints_add_exgcnlguuntduletsdl_(sx35)09_name_constraints_add_excluded(3)
2
3
4

NAME

6       gnutls_x509_name_constraints_add_excluded - API function
7

SYNOPSIS

9       #include <gnutls/x509.h>
10
11       int     gnutls_x509_name_constraints_add_excluded(gnutls_x509_name_con‐
12       straints_t    nc,    gnutls_x509_subject_alt_name_t     type,     const
13       gnutls_datum_t * name);
14

ARGUMENTS

16       gnutls_x509_name_constraints_t nc
17                   The nameconstraints
18
19       gnutls_x509_subject_alt_name_t type
20                   The type of the constraints
21
22       const gnutls_datum_t * name
23                   The data of the constraints
24

DESCRIPTION

26       This  function  will add a name constraint to the list of excluded con‐
27       straints. The constraints  type can be  any  of  the  following  types:
28       GNUTLS_SAN_DNSNAME,        GNUTLS_SAN_RFC822NAME,        GNUTLS_SAN_DN,
29       GNUTLS_SAN_URI, GNUTLS_SAN_IPADDRESS. For the latter, an IP address  in
30       network  byte order is expected, followed by its network mask (which is
31       4 bytes in IPv4 or 16-bytes in IPv6).
32

RETURNS

34       On success, GNUTLS_E_SUCCESS (0)  is  returned,  otherwise  a  negative
35       error value.
36

SINCE

38       3.3.0
39

REPORTING BUGS

41       Report bugs to <bugs@gnutls.org>.
42       Home page: https://www.gnutls.org
43
44
46       Copyright © 2001-2020 Free Software Foundation, Inc., and others.
47       Copying  and  distribution  of this file, with or without modification,
48       are permitted in any medium  without  royalty  provided  the  copyright
49       notice and this notice are preserved.
50

SEE ALSO

52       The  full  documentation  for gnutls is maintained as a Texinfo manual.
53       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
54       visit
55
56       https://www.gnutls.org/manual/
57
58gnutls                            gn3u.t6l.s1_3x509_name_constraints_add_excluded(3)
Impressum