Return certificates from the store whose subject name matches nm.

Synopsis

Declared in <openssl/x509_vfy.h>

stack_st_X509*
X509_STORE_CTX_get1_certs(
    X509_STORE_CTX* xs,
    X509_NAME const* nm);

Return Value

New stack of matching certificates (refcount +1 each), or NULL; free with sk_X509_pop_free().

Parameters

Name

Description

xs

Verification / lookup context whose store is queried.

nm

Subject name to match.

Created with MrDocs