5 SSL_get_client_CA_list, SSL_CTX_get_client_CA_list - get list of client CAs
9 #include <openssl/ssl.h>
11 STACK_OF(X509_NAME) *SSL_get_client_CA_list(const SSL *s);
12 STACK_OF(X509_NAME) *SSL_CTX_get_client_CA_list(const SSL_CTX *ctx);
16 SSL_CTX_get_client_CA_list() returns the list of client CAs explicitly set for
17 B<ctx> using L<SSL_CTX_set_client_CA_list(3)>.
19 SSL_get_client_CA_list() returns the list of client CAs explicitly
20 set for B<ssl> using SSL_set_client_CA_list() or B<ssl>'s SSL_CTX object with
21 L<SSL_CTX_set_client_CA_list(3)>, when in
22 server mode. In client mode, SSL_get_client_CA_list returns the list of
23 client CAs sent from the server, if any.
27 SSL_CTX_set_client_CA_list() and SSL_set_client_CA_list() do not return
28 diagnostic information.
30 SSL_CTX_add_client_CA() and SSL_add_client_CA() have the following return
35 =item STACK_OF(X509_NAMES)
37 List of CA names explicitly set (for B<ctx> or in server mode) or send
38 by the server (client mode).
42 No client CA list was explicitly set (for B<ctx> or in server mode) or
43 the server did not send a list of CAs (client mode).
50 L<SSL_CTX_set_client_CA_list(3)>,
51 L<SSL_CTX_set_client_cert_cb(3)>
55 Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.
57 Licensed under the OpenSSL license (the "License"). You may not use
58 this file except in compliance with the License. You can obtain a copy
59 in the file LICENSE in the source distribution or at
60 L<https://www.openssl.org/source/license.html>.