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