gtpc1m5m | Transmission Control Protocol/Internet Protocol |
The SSL_CTX_set_default_passwd_cb_userdata function identifies the password that is used to access data in a private key file that is in PEM (base64 encoded) format.
Format
#include <openssl/ssl.h> void SSL_CTX_set_default_password_cb_userdata(SSL_CTX *ctx, void *password)
Normal Return
None.
Error Return
None.
Programming Considerations
You must use the SSL_CTX_set_default_passwd_cb_userdata function if your application is going to load a private key file that contains encrypted data.
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