Return a deep‐copied snapshot of every object cached in an X509_STORE.

Synopsis

Declared in <openssl/x509_vfy.h>

stack_st_X509_OBJECT*
X509_STORE_get1_objects(X509_STORE* xs);

Return Value

New STACK_OF(X509_OBJECT) that the caller frees with sk_X509_OBJECT_pop_free(..., X509_OBJECT_free), or NULL on error.

Parameters

Name

Description

xs

Store whose certificate/CRL cache is copied (locked for the duration of the copy).

Created with MrDocs