Function esp_idf_svc::sys::mbedtls_x509_dn_gets
source ยท pub unsafe extern "C" fn mbedtls_x509_dn_gets(
buf: *mut i8,
size: usize,
dn: *const mbedtls_asn1_named_data,
) -> i32
Expand description
\brief Store the certificate DN in printable form into buf; no more than size characters will be written.
\param buf Buffer to write to \param size Maximum size of buffer \param dn The X509 name to represent
\return The length of the string written (not including the terminated nul byte), or a negative error code.