Return the verified certificate chain built for ctx without transferring ownership.

Synopsis

Declared in <openssl/x509_vfy.h>

stack_st_X509*
X509_STORE_CTX_get0_chain(X509_STORE_CTX const* ctx);

Return Value

Internal STACK_OF(X509) (leaf first), or NULL if none; do not free.

Parameters

Name

Description

ctx

Store context after successful (or partial) chain building.

Created with MrDocs