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