x509_certificate_parse() function
x509_certificate_parse - Parse a X.509 certificate in DER format @buf: Pointer to the X.509 certificate in DER format @len: Buffer length Returns: Pointer to the parsed certificate or %NULL on failure Caller is responsible for freeing the returned certificate by calling x509_certificate_free().