gtpc1m5lTransmission Control Protocol/Internet Protocol

SSL_CTX_set_client_CA_list

The SSL_CTX_set_client_CA_list function identifies the list of certificate authorities (CAs) that will be sent to the remote client application when requesting the client certificate for any Secure Sockets Layer (SSL) session associated with a specific context (CTX) structure. The client application must provide a certificate that was signed by one of the CAs in the list.

Format

#include <openssl/ssl.h>
void SSL_CTX_set_client_CA_list(SSL_CTX *ctx,STACK_OF(X509_NAME) *list)

ctx
A pointer to a token returned on the SSL_CTX_new call.

list
A pointer to a stack of CA names.

Normal Return

None.

Error Return

None.

Programming Considerations

Examples

For sample SSL applications, go to http://www.ibm.com/tpf/pubs/tpfpubs.htm, click SSL for the TPF 4.1 System: An Online User's Guide, and click Examples from the left navigation bar.

Related Information