Debian Codegraph @

doc/functions/gnutls_x509_ext_import_basic_constraints

raw
1
2
3
4
5 @deftypefun {int} {gnutls_x509_ext_import_basic_constraints} (const gnutls_datum_t * @var{ext}, unsigned int * @var{ca}, int * @var{pathlen})
6 @var{ext}: the DER encoded extension data
7
8 @var{ca}: will be non zero if the CA status is true
9
10 @var{pathlen}: the path length constraint; will be set to -1 for no limit
11
12 This function will return the CA status and path length constraint
13 as written in the PKIX extension 2.5.29.19.
14
15 @strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned, otherwise a
16 negative error value.
17
18 @strong{Since:} 3.3.0
19 @end deftypefun