Function esp_idf_sys::mbedtls_x509write_crt_set_ext_key_usage
source ยท pub unsafe extern "C" fn mbedtls_x509write_crt_set_ext_key_usage(
ctx: *mut mbedtls_x509write_cert,
exts: *const mbedtls_asn1_sequence,
) -> c_int
Expand description
\brief Set the Extended Key Usage Extension (e.g. MBEDTLS_OID_SERVER_AUTH)
\param ctx CRT context to use \param exts extended key usage extensions to set, a sequence of MBEDTLS_ASN1_OID objects
\return 0 if successful, or MBEDTLS_ERR_X509_ALLOC_FAILED