#include <authcert.hpp>
Definition at line 48 of file authcert.hpp.
◆ Type
Enumerator |
---|
OK | |
EXPIRED | |
BAD_CERT_TYPE | |
CERT_FAIL | |
SNI_ERROR | |
N | |
Definition at line 53 of file authcert.hpp.
◆ add_fail()
void openvpn::AuthCert::Fail::add_fail |
( |
const size_t |
depth, |
|
|
const Type |
new_code, |
|
|
std::string |
reason |
|
) |
| |
|
inline |
◆ get_code()
Type openvpn::AuthCert::Fail::get_code |
( |
| ) |
const |
|
inline |
◆ is_fail()
bool openvpn::AuthCert::Fail::is_fail |
( |
| ) |
const |
|
inline |
◆ render_code()
static std::string openvpn::AuthCert::Fail::render_code |
( |
const Type |
code | ) |
|
|
inlinestatic |
◆ to_string()
std::string openvpn::AuthCert::Fail::to_string |
( |
const bool |
use_prefix | ) |
const |
|
inline |
◆ code
Type openvpn::AuthCert::Fail::code {OK} |
|
private |
◆ errors
std::vector<std::string> openvpn::AuthCert::Fail::errors |
|
private |
The documentation for this class was generated from the following file: