Function esp_idf_svc::sys::mbedtls_x509_serial_gets
source ยท pub unsafe extern "C" fn mbedtls_x509_serial_gets(
buf: *mut i8,
size: usize,
serial: *const mbedtls_asn1_buf,
) -> i32
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.