Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ SSL_CTX_get_client_CA_list(3) — Tru64 UNIX 5.1b

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

ssl(3)

SSL_CTX_set_client_CA_list(3)

SSL_CTX_set_client_cert_cb(3)

SSL_get_client_CA_list(3)  —  Subroutines

NAME

SSL_get_client_CA_list, SSL_CTX_get_client_CA_list − Get list of client CAs

SYNOPSIS

#include <openssl/ssl.h>
STACK_OF(X509_NAME) ∗SSL_get_client_CA_list(
        SSL ∗s ); STACK_OF(X509_NAME) ∗SSL_CTX_get_client_CA_list(
        SSL_CTX ∗ctx );

DESCRIPTION

The SSL_CTX_get_client_CA_list() function returns the list of client CAs explicitly set for ctx using the SSL_CTX_set_client_CA_list() function. 

The SSL_get_client_CA_list() function returns the list of client CAs explicitly set for ssl using the SSL_set_client_CA_list() function or ssl’s SSL_CTX object with the SSL_CTX_set_client_CA_list() function, when in server mode. In client mode, the SSL_get_client_CA_list() function returns the list of client CAs sent from the server, if any. 

RETURN VALUES

The SSL_CTX_set_client_CA_list() and SSL_set_client_CA_list() functions do not return diagnostic information. 

The SSL_CTX_add_client_CA() and SSL_add_client_CA() functions have the following return values:

STACK_OF(X509_NAMES)
List of CA names explicitly set (for ctx or in server mode) or send by the server (client mode). 

NULLNo client CA list was explicitly set (for ctx or in server mode) or the server did not send a list of CAs (client mode). 

SEE ALSO

Functions: ssl(3), SSL_CTX_set_client_CA_list(3), SSL_CTX_set_client_cert_cb(3)

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026