#include <domain.h>
Detailed Description
An abstraction of a XMPP domain and its configuration.
- Author
- Jakob Schroeter js@ca.nosp@m.maya.nosp@m..net
- Since
- 0.2
Definition at line 32 of file domain.h.
Constructor & Destructor Documentation
Domain |
( |
const std::string & |
name, |
|
|
const std::string & |
, |
|
|
unsigned |
short |
|
) |
| |
|
inline |
Constructor.
Definition at line 38 of file domain.h.
Destructor.
Definition at line 46 of file domain.h.
Member Function Documentation
const std::string& cert |
( |
| ) |
const |
|
inline |
Returns the path of the public certificate file.
- Returns
- The server's certificate file.
Definition at line 88 of file domain.h.
const std::string& key |
( |
| ) |
const |
|
inline |
Returns the path of the private key file.
- Returns
- The server's private key file.
Definition at line 82 of file domain.h.
void setCertificates |
( |
const std::string & |
_key, |
|
|
const std::string & |
_cert |
|
) |
| |
|
inline |
Sets the domain's private key, certificate, and the signing Certificate Authority's certificate (chain).
- Parameters
-
key | The path to the private key. |
cert | The path to the certificate (chain). |
Definition at line 71 of file domain.h.
The documentation for this class was generated from the following file: