mbedtls_x509_crt_parse_der() function
Parse a single DER formatted certificate and add it to the chained list.
Arguments
chain
points to the start of the chain
buf
buffer holding the certificate DER data
Return value
0 if successful, or a specific X509 or PEM error code