#include <SSLContext.h>
◆ SSLContext()
sptk::SSLContext::SSLContext |
( |
const String & |
cipherList | ) |
|
|
explicit |
Constructor
- Parameters
-
cipherList | Cipher list. Use "ALL" if not known. |
◆ handle()
SSL_CTX * sptk::SSLContext::handle |
( |
| ) |
|
Returns SSL context handle
◆ loadKeys()
void sptk::SSLContext::loadKeys |
( |
const SSLKeys & |
keys | ) |
|
Loads private key and certificate(s)
Private key and certificates must be encoded with PEM format. A single file containing private key and certificate can be used by supplying it for both, private key and certificate parameters. If private key is protected with password, then password can be supplied to auto-answer.
- Parameters
-
keys | Keys and certificates |
The documentation for this class was generated from the following file: