gtpc1m61Transmission Control Protocol/Internet Protocol

SSL_load_client_CA_file

The SSL_load_client_CA_file function loads certificates from a specific file and returns the issuer name of each certificate.

Format

#include <openssl/ssl.h>
STACK_OF(X509_NAME) *SSL_load_client_CA_file(const char *file)

file
A pointer to the name of the file that contains the certificates. The file must be in PEM (base64 encoded) format.

Normal Return

Returns a stack of certificate issuer names. The names include each certificate authority (CA) that signed any of the certificates in the file.

Error Return

If unsuccessful, the SSL_load_client_CA_file function returns NULL. The following are the most likely causes of errors:

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