1SSL_get_client_CA_list(3)           OpenSSL          SSL_get_client_CA_list(3)
2
3
4

NAME

6       SSL_get_client_CA_list, SSL_CTX_get_client_CA_list - get list of client
7       CAs
8

SYNOPSIS

10        #include <openssl/ssl.h>
11
12        STACK_OF(X509_NAME) *SSL_get_client_CA_list(const SSL *s);
13        STACK_OF(X509_NAME) *SSL_CTX_get_client_CA_list(const SSL_CTX *ctx);
14

DESCRIPTION

16       SSL_CTX_get_client_CA_list() returns the list of client CAs explicitly
17       set for ctx using SSL_CTX_set_client_CA_list(3).
18
19       SSL_get_client_CA_list() returns the list of client CAs explicitly set
20       for ssl using SSL_set_client_CA_list() or ssl's SSL_CTX object with
21       SSL_CTX_set_client_CA_list(3), when in server mode. In client mode,
22       SSL_get_client_CA_list returns the list of client CAs sent from the
23       server, if any.
24

RETURN VALUES

26       SSL_CTX_set_client_CA_list() and SSL_set_client_CA_list() do not return
27       diagnostic information.
28
29       SSL_CTX_add_client_CA() and SSL_add_client_CA() have the following
30       return values:
31
32       STACK_OF(X509_NAMES)
33           List of CA names explicitly set (for ctx or in server mode) or send
34           by the server (client mode).
35
36       NULL
37           No client CA list was explicitly set (for ctx or in server mode) or
38           the server did not send a list of CAs (client mode).
39

SEE ALSO

41       ssl(3), SSL_CTX_set_client_CA_list(3), SSL_CTX_set_client_cert_cb(3)
42
43
44
451.0.1e                            2013-02-11         SSL_get_client_CA_list(3)
Impressum