pub unsafe extern "C" fn mbedtls_x509write_crt_pem(
    ctx: *mut mbedtls_x509write_cert,
    buf: *mut c_uchar,
    size: usize,
    f_rng: Option<unsafe extern "C" fn(arg1: *mut c_void, arg2: *mut c_uchar, arg3: usize) -> c_int>,
    p_rng: *mut c_void
) -> c_int
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.