pub unsafe extern "C" fn mbedtls_x509_crt_info(
    buf: *mut i8,
    size: usize,
    prefix: *const i8,
    crt: *const mbedtls_x509_crt
) -> i32
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.