Return a new stack of every X.509 certificate currently cached in a store.
Declared in <openssl/x509_vfy.h>
<openssl/x509_vfy.h>
stack_st_X509* X509_STORE_get1_all_certs(X509_STORE* xs);
New STACK_OF(X509) that the caller frees (for example with OSSL_STACK_OF_X509_free), or NULL on error.