Hi,

certificates and private keys are usually stored in PEM-formatted files 
and are loaded using the functions SSL_CTX_use_certificate_file() and 
SSL_CTX_use_PrivateKey_file().

If I want to hard code the keys in my application, such as

char* certificate = "-----BEGIN CERTIFICATE-----"
"MIIC1...";

is there an API that I can use in this case to initialize the keys?

Thx,
Arno

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to