libiqxmlrpc  0.12.4
 All Classes Namespaces Files Functions Typedefs Enumerations
Public Member Functions | Static Public Member Functions | List of all members
iqnet::ssl::Ctx Class Reference

SSL context class. Initializes SSL library. More...

#include <ssl_lib.h>

Public Member Functions

SSL_CTX * context ()
 

Static Public Member Functions

static Ctxclient_server (const std::string &cert_path, const std::string &key_path)
 
static Ctxserver_only (const std::string &cert_path, const std::string &key_path)
 
static Ctxclient_only ()
 

Detailed Description

SSL context class. Initializes SSL library.

using namespace iqnet;
ssl::ctx = ssl::Ctx::client_server( "/path/to/cert", "/path/to/key" );
//...

The documentation for this class was generated from the following files: