Return certificates from the store whose subject name matches nm.
Declared in <openssl/x509_vfy.h>
stack_st_X509*
X509_STORE_CTX_get1_certs(
X509_STORE_CTX* xs,
X509_NAME const* nm);
New stack of matching certificates (refcount +1 each), or NULL; free with sk_X509_pop_free().
| Name | Description |
|---|---|
| xs | Verification / lookup context whose store is queried. |
| nm | Subject name to match. |