mbedtls_x509_crt_info() function
Returns an informational string about the certificate.
Arguments
size
Maximum size of buffer
crt
The X509 certificate to represent
Return value
The length of the string written (not including the terminated nul byte), or a negative error code.