x509_certificate_get_subject() function
x509_certificate_get_subject - Get a certificate based on Subject name @chain: Certificate chain to search through @name: Subject name to search for Returns: Pointer to the certificate with the given Subject name or %NULL on failure