1SSL_GET_CLIENT_CA_LIST(3) OpenSSL SSL_GET_CLIENT_CA_LIST(3)
2
3
4
6 SSL_get_client_CA_list, SSL_CTX_get_client_CA_list - get list of client
7 CAs
8
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
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
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
41 ssl(7), SSL_CTX_set_client_CA_list(3), SSL_CTX_set_client_cert_cb(3)
42
44 Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.
45
46 Licensed under the OpenSSL license (the "License"). You may not use
47 this file except in compliance with the License. You can obtain a copy
48 in the file LICENSE in the source distribution or at
49 <https://www.openssl.org/source/license.html>.
50
51
52
531.1.1 2018-09-11 SSL_GET_CLIENT_CA_LIST(3)