pub unsafe extern "C" fn mbedtls_x509write_crt_set_basic_constraints(
ctx: *mut mbedtls_x509write_cert,
is_ca: c_int,
max_pathlen: c_int,
) -> c_int
Expand description
\brief Set the basicConstraints extension for a CRT
\param ctx CRT context to use \param is_ca is this a CA certificate \param max_pathlen maximum length of certificate chains below this certificate (only for CA certificates, -1 is unlimited)
\return 0 if successful, or a MBEDTLS_ERR_X509_ALLOC_FAILED