Return a new reference to the verified certificate chain built for ctx.
Declared in <openssl/x509_vfy.h>
stack_st_X509*
X509_STORE_CTX_get1_chain(X509_STORE_CTX const* ctx);
New STACK_OF(X509) with up-reffed certificates; free with OSSL_STACK_OF_X509_free(), or NULL if none.
| Name | Description |
|---|---|
| ctx | Store context after successful (or partial) chain building. |