#include <sslcontext.h>
Inheritance diagram for Dv::Ssl::ContextV2:
Public Member Functions | |
ContextV2 (const char *keyfilename=0, const char *certfilename=0) throw (std::runtime_error) | |
Constructor. | |
~ContextV2 () | |
Destructor. |
Definition at line 107 of file sslcontext.h.
Dv::Ssl::ContextV2::ContextV2 | ( | const char * | keyfilename = 0 , |
|
const char * | certfilename = 0 | |||
) | throw (std::runtime_error) |
Constructor.
If the context is to be used with a Dv::Ssl::ServerSocket object, both filename arguments are obligatory. If the context is to be used with a Dv::Ssl::Socket object, the filename arguments are optional (but will not be used).
Dv::Ssl::ContextV2::~ContextV2 | ( | ) |
Destructor.