MirBSD manpage: SSL_CTX_get_client_CA_list(3), SSL_get_client_CA_list(3)


SSL_GET_CLIENT_CA_LIST(3)    OpenSSL    SSL_GET_CLIENT_CA_LIST(3)

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(const SSL *s);
      STACK_OF(X509_NAME) *SSL_CTX_get_client_CA_list(const SSL_CTX *ctx);

DESCRIPTION

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

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

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:

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

     NULL
         No 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

     ssl(3), SSL_CTX_set_client_CA_list(3),
     SSL_CTX_set_client_cert_cb(3)

MirBSD #10-current         2005-04-29                           1

Generated on 2022-12-24 01:00:14 by $MirOS: src/scripts/roff2htm,v 1.113 2022/12/21 23:14:31 tg Exp $ — This product includes material provided by mirabilos.

These manual pages and other documentation are copyrighted by their respective writers; their sources are available at the project’s CVSweb, AnonCVS and other mirrors. The rest is Copyright © 2002–2022 MirBSD.

This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report — diffs preferred.

Kontakt / Impressum & Datenschutzerklärung