Find the first X509_OBJECT in h matching type and subject name.
Declared in <openssl/x509_vfy.h>
X509_OBJECT*
X509_OBJECT_retrieve_by_subject(
stack_st_X509_OBJECT* h,
X509_LOOKUP_TYPE type,
X509_NAME const* name);
Matching X509_OBJECT from h (do not free), or NULL if none.
| Name | Description |
|---|---|
| h | Stack of X509_OBJECT entries to search. |
| type | X509_LU_X509 or X509_LU_CRL selecting certificate vs CRL. |
| name | Subject (for certs) or issuer (for CRLs) name to match. |