Function esp_idf_svc::sys::mbedtls_x509_crt_verify_info

source ยท
pub unsafe extern "C" fn mbedtls_x509_crt_verify_info(
    buf: *mut i8,
    size: usize,
    prefix: *const i8,
    flags: u32,
) -> i32
Expand description

\brief Returns an informational string about the verification status of a certificate.

\param buf Buffer to write to \param size Maximum size of buffer \param prefix A line prefix \param flags Verification flags created by mbedtls_x509_crt_verify()

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