Blame doc/functions/gnutls_x509_ext_import_basic_constraints

Packit aea12f
Packit aea12f
Packit aea12f
Packit aea12f
Packit aea12f
@deftypefun {int} {gnutls_x509_ext_import_basic_constraints} (const gnutls_datum_t * @var{ext}, unsigned int * @var{ca}, int * @var{pathlen})
Packit aea12f
@var{ext}: the DER encoded extension data
Packit aea12f
Packit aea12f
@var{ca}: will be non zero if the CA status is true
Packit aea12f
Packit aea12f
@var{pathlen}: the path length constraint; will be set to -1 for no limit
Packit aea12f
Packit aea12f
This function will return the CA status and path length constraint
Packit aea12f
as written in the PKIX extension 2.5.29.19.
Packit aea12f
Packit aea12f
@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS}  (0) is returned, otherwise a
Packit aea12f
negative error value.
Packit aea12f
Packit aea12f
@strong{Since:} 3.3.0
Packit aea12f
@end deftypefun