Function esp_idf_sys::mbedtls_x509_crt_info

source ยท
pub unsafe extern "C" fn mbedtls_x509_crt_info(
    buf: *mut c_char,
    size: usize,
    prefix: *const c_char,
    crt: *const mbedtls_x509_crt,
) -> c_int
Expand description

\brief Returns an informational string about the certificate.

\param buf Buffer to write to \param size Maximum size of buffer \param prefix A line prefix \param crt The X509 certificate to represent

\return The length of the string written (not including the terminated nul byte), or a negative error code.