SSL_get0_verified_chain

Return the verified peer certificate chain including the end-entity certificate.

Synopsis

Declared in <openssl/ssl.h>

stack_st_X509*
SSL_get0_verified_chain(SSL const* s);

Return Value

Stack of X509 (do not free), possibly incomplete if verification failed; NULL if unavailable.

Parameters

NameDescription
sSSL connection after a successful session establishment.