#include <SSLContext.h>
Public Member Functions | |
SSLContext () | |
void | flush () |
SSL_CTX * | get () |
Static Public Member Functions | |
const std::string & | SSLContext::getSslCAFiles () |
The context is the certificates and passwords needed to establish the SSL session.
|
Constructor does very little - setting up the context is done by get method. |
|
Delete context so that next call to get will re-evaluate it by rereading the certificates etc. Used to cause the context to be refreshed from file. |
|
Returns pointer to SSL CTX object. Lazy evaluation so that it is created only when this method is called for the first time (or after a SSLContext::flush()). |
|
Getter for sslCAFilesStatic static attribute. |