Function esp_idf_hal::sys::mbedtls_x509write_crt_set_version

source ยท
pub unsafe extern "C" fn mbedtls_x509write_crt_set_version(
    ctx: *mut mbedtls_x509write_cert,
    version: i32,
)
Expand description

\brief Set the version for a Certificate Default: MBEDTLS_X509_CRT_VERSION_3

\param ctx CRT context to use \param version version to set (MBEDTLS_X509_CRT_VERSION_1, MBEDTLS_X509_CRT_VERSION_2 or MBEDTLS_X509_CRT_VERSION_3)