Function esp_idf_svc::sys::mbedtls_x509write_crt_pem
source ยท pub unsafe extern "C" fn mbedtls_x509write_crt_pem(
ctx: *mut mbedtls_x509write_cert,
buf: *mut u8,
size: usize,
f_rng: Option<unsafe extern "C" fn(_: *mut c_void, _: *mut u8, _: usize) -> i32>,
p_rng: *mut c_void,
) -> i32
Expand description
\brief Write a built up certificate to a X509 PEM string
\param ctx certificate to write away \param buf buffer to write to \param size size of the buffer \param f_rng RNG function. This must not be \c NULL. \param p_rng RNG parameter
\return 0 if successful, or a specific error code
\note \p f_rng is used for the signature operation.