Public Member Functions | |
| int | free () |
| string & | getCertificateFile () |
| SSL_CTX * | getContext () |
| SSL_METHOD * | getMethod () |
| string & | getPassword () |
| string & | getPrivateKeyFile () |
| int | initialize () |
| void | setCertificateFile (string &c) |
| void | setPassword (string &p) |
| void | setPrivateKeyFile (string &pk) |
| SslContext () | |
Private Member Functions | |
| void | generateRsaKey () |
Private Attributes | |
| string | certificateFile |
| SSL_CTX * | context |
| SSL_METHOD * | method |
| string | password |
| string | privateKeyFile |
|
|
|
|
|
|
|
|
Generate a RSA key and pass it to the SSL context. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Initialize SSL on the virtual host. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.9.1