X509_STORE_get1_all_certs

Return a new stack of every X.509 certificate currently cached in a store.

Synopsis

Declared in <openssl/x509_vfy.h>

stack_st_X509*
X509_STORE_get1_all_certs(X509_STORE* xs);

Return Value

New STACK_OF(X509) that the caller frees (for example with OSSL_STACK_OF_X509_free), or NULL on error.

Parameters

NameDescription
xsStore whose certificate cache is copied.