2000-10-03 22:02:28 +00:00
|
|
|
=pod
|
|
|
|
|
|
|
|
=head1 NAME
|
|
|
|
|
|
|
|
SSL_get_client_CA_list, SSL_CTX_get_client_CA_list - get list of client CAs
|
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
|
|
|
#include <openssl/ssl.h>
|
|
|
|
|
2005-03-30 11:50:14 +00:00
|
|
|
STACK_OF(X509_NAME) *SSL_get_client_CA_list(const SSL *s);
|
2016-05-20 12:11:46 +00:00
|
|
|
STACK_OF(X509_NAME) *SSL_CTX_get_client_CA_list(const SSL_CTX *ctx);
|
2000-10-03 22:02:28 +00:00
|
|
|
|
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
2001-02-16 02:09:53 +00:00
|
|
|
SSL_CTX_get_client_CA_list() returns the list of client CAs explicitly set for
|
2015-08-17 19:21:33 +00:00
|
|
|
B<ctx> using L<SSL_CTX_set_client_CA_list(3)>.
|
2000-10-03 22:02:28 +00:00
|
|
|
|
2001-02-16 02:09:53 +00:00
|
|
|
SSL_get_client_CA_list() returns the list of client CAs explicitly
|
2000-10-03 22:02:28 +00:00
|
|
|
set for B<ssl> using SSL_set_client_CA_list() or B<ssl>'s SSL_CTX object with
|
2015-08-17 19:21:33 +00:00
|
|
|
L<SSL_CTX_set_client_CA_list(3)>, when in
|
2000-10-03 22:02:28 +00:00
|
|
|
server mode. In client mode, SSL_get_client_CA_list returns the list of
|
|
|
|
client CAs sent from the server, if any.
|
|
|
|
|
|
|
|
=head1 RETURN VALUES
|
|
|
|
|
|
|
|
SSL_CTX_set_client_CA_list() and SSL_set_client_CA_list() do not return
|
|
|
|
diagnostic information.
|
|
|
|
|
|
|
|
SSL_CTX_add_client_CA() and SSL_add_client_CA() have the following return
|
|
|
|
values:
|
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
|
|
|
=item STACK_OF(X509_NAMES)
|
|
|
|
|
2001-02-16 02:09:53 +00:00
|
|
|
List of CA names explicitly set (for B<ctx> or in server mode) or send
|
2000-10-03 22:02:28 +00:00
|
|
|
by the server (client mode).
|
|
|
|
|
|
|
|
=item NULL
|
|
|
|
|
2001-02-16 02:09:53 +00:00
|
|
|
No client CA list was explicitly set (for B<ctx> or in server mode) or
|
2000-10-03 22:02:28 +00:00
|
|
|
the server did not send a list of CAs (client mode).
|
|
|
|
|
|
|
|
=back
|
|
|
|
|
|
|
|
=head1 SEE ALSO
|
|
|
|
|
2016-11-11 08:33:09 +00:00
|
|
|
L<ssl(7)>,
|
2015-08-17 19:21:33 +00:00
|
|
|
L<SSL_CTX_set_client_CA_list(3)>,
|
|
|
|
L<SSL_CTX_set_client_cert_cb(3)>
|
2000-10-03 22:02:28 +00:00
|
|
|
|
2016-05-18 15:44:05 +00:00
|
|
|
=head1 COPYRIGHT
|
|
|
|
|
|
|
|
Copyright 2000-2016 The OpenSSL Project Authors. All Rights Reserved.
|
|
|
|
|
|
|
|
Licensed under the OpenSSL license (the "License"). You may not use
|
|
|
|
this file except in compliance with the License. You can obtain a copy
|
|
|
|
in the file LICENSE in the source distribution or at
|
|
|
|
L<https://www.openssl.org/source/license.html>.
|
|
|
|
|
|
|
|
=cut
|