Function esp_idf_sys::mbedtls_x509_dn_gets

source ยท
pub unsafe extern "C" fn mbedtls_x509_dn_gets(
    buf: *mut c_char,
    size: usize,
    dn: *const mbedtls_x509_name,
) -> c_int
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.