Function esp_idf_sys::mbedtls_x509_string_to_names
source ยท pub unsafe extern "C" fn mbedtls_x509_string_to_names(
head: *mut *mut mbedtls_asn1_named_data,
name: *const c_char,
) -> c_int
Expand description
\brief Convert the certificate DN string \p name into a linked list of mbedtls_x509_name (equivalent to mbedtls_asn1_named_data).
\note This function allocates a linked list, and places the head pointer in \p head. This list must later be freed by a call to mbedtls_asn1_free_named_data_list().
\param[out] head Address in which to store the pointer to the head of the allocated list of mbedtls_x509_name \param[in] name The string representation of a DN to convert
\return 0 on success, or a negative error code.