Function esp_idf_hal::sys::mbedtls_x509write_crt_set_subject_name
source · pub unsafe extern "C" fn mbedtls_x509write_crt_set_subject_name(
ctx: *mut mbedtls_x509write_cert,
subject_name: *const i8,
) -> i32
Expand description
\brief Set the subject name for a Certificate Subject names should contain a comma-separated list of OID types and values: e.g. “C=UK,O=ARM,CN=Mbed TLS Server 1”
\param ctx CRT context to use \param subject_name subject name to set
\return 0 if subject name was parsed successfully, or a specific error code