Function esp_idf_sys::mbedtls_x509_serial_gets

source ยท
pub unsafe extern "C" fn mbedtls_x509_serial_gets(
    buf: *mut c_char,
    size: usize,
    serial: *const mbedtls_x509_buf,
) -> c_int
Expand description

\brief Store the certificate serial 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 serial The X509 serial to represent

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