mbedtls_x509write_crt_der() function
Write a built up certificate to a X509 DER structure Note: data is written at the end of the buffer! Use the return value to determine where you should start using the buffer
Arguments
ctx
certificate to write away
f_rng
int (*)(void *, unsigned char *, size_t)
RNG function. This must not be \c NULL.
Return value
length of data written if successful, or a specific error code
Notes
\p f_rng is used for the signature operation.