SSL_get0_peer_CA_list

Return the list of CA names the peer advertised for client authentication.

Synopsis

Declared in <openssl/ssl.h>

stack_st_X509_NAME const*
SSL_get0_peer_CA_list(SSL const* s);

Return Value

Internal STACK_OF(X509_NAME) (do not free), or NULL if none was received.

Parameters

NameDescription
sSSL connection to query (typically on the client after CertificateRequest).