1gnutls_x509_ext_import_inhibit_anypoglgninucutytl(ls3s_)x509_ext_import_inhibit_anypolicy(3)
2
3
4

NAME

6       gnutls_x509_ext_import_inhibit_anypolicy - API function
7

SYNOPSIS

9       #include <gnutls/x509-ext.h>
10
11       int   gnutls_x509_ext_import_inhibit_anypolicy(const  gnutls_datum_t  *
12       ext, unsigned int * skipcerts);
13

ARGUMENTS

15       const gnutls_datum_t * ext
16                   the DER encoded extension data
17
18       unsigned int * skipcerts
19                   will hold the number of certificates after which  anypolicy
20                   is no longer acceptable.
21

DESCRIPTION

23       This  function will return certificate's value of SkipCerts, by reading
24       the DER data of the Inhibit anyPolicy X.509 extension (2.5.29.54).
25
26       The  skipcerts value is the number of additional certificates that  may
27       appear in the path before the anyPolicy (GNUTLS_X509_OID_POLICY_ANY) is
28       no longer acceptable.
29

RETURNS

31       zero, or a negative error code in case of parsing error.  If  the  cer‐
32       tificate   does   not   contain   the   Inhibit   anyPolicy   extension
33       GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE will be returned.
34

SINCE

36       3.6.0
37

REPORTING BUGS

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

SEE ALSO

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