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.
![]()
if ((ret = mbedtls_x509write_crt_der(crt, buf, size,
mbedtls_x509write_crt_der() is called by 1 function and calls 15 functions:
![]()
mbedtls_x509write_crt_der()
mbedtls_x509write_crt_der() reads 13 variables:
![]()
mbedtls_x509write_crt_der()