#include <cr.hpp>
Definition at line 41 of file cr.hpp.
◆ Ptr
◆ ChallengeResponse() [1/3]
openvpn::ChallengeResponse::ChallengeResponse |
( |
| ) |
|
|
inline |
◆ ChallengeResponse() [2/3]
openvpn::ChallengeResponse::ChallengeResponse |
( |
const std::string & |
cookie | ) |
|
|
inlineexplicit |
◆ ChallengeResponse() [3/3]
openvpn::ChallengeResponse::ChallengeResponse |
( |
const std::string & |
cookie, |
|
|
const std::string & |
user |
|
) |
| |
|
inline |
◆ construct_dynamic_password()
std::string openvpn::ChallengeResponse::construct_dynamic_password |
( |
const std::string & |
response | ) |
const |
|
inline |
◆ construct_static_password()
static std::string openvpn::ChallengeResponse::construct_static_password |
( |
const std::string & |
password, |
|
|
const std::string & |
response |
|
) |
| |
|
inlinestatic |
◆ generate_dynamic_challenge()
static std::string openvpn::ChallengeResponse::generate_dynamic_challenge |
( |
const std::string & |
session_token, |
|
|
const std::string & |
username, |
|
|
const std::string & |
challenge, |
|
|
const bool |
echo, |
|
|
const bool |
response_required |
|
) |
| |
|
inlinestatic |
◆ get_challenge_text()
const std::string & openvpn::ChallengeResponse::get_challenge_text |
( |
| ) |
const |
|
inline |
◆ get_echo()
bool openvpn::ChallengeResponse::get_echo |
( |
| ) |
const |
|
inline |
◆ get_response_required()
bool openvpn::ChallengeResponse::get_response_required |
( |
| ) |
const |
|
inline |
◆ get_state_id()
const std::string & openvpn::ChallengeResponse::get_state_id |
( |
| ) |
const |
|
inline |
◆ get_username()
const std::string & openvpn::ChallengeResponse::get_username |
( |
| ) |
const |
|
inline |
◆ init()
void openvpn::ChallengeResponse::init |
( |
const std::string & |
cookie | ) |
|
|
inline |
◆ is_dynamic()
static bool openvpn::ChallengeResponse::is_dynamic |
( |
const std::string & |
s | ) |
|
|
inlinestatic |
◆ is_static()
static bool openvpn::ChallengeResponse::is_static |
( |
const std::string & |
s | ) |
|
|
inlinestatic |
◆ OPENVPN_SIMPLE_EXCEPTION() [1/2]
openvpn::ChallengeResponse::OPENVPN_SIMPLE_EXCEPTION |
( |
dynamic_challenge_parse_error |
| ) |
|
◆ OPENVPN_SIMPLE_EXCEPTION() [2/2]
openvpn::ChallengeResponse::OPENVPN_SIMPLE_EXCEPTION |
( |
static_challenge_parse_error |
| ) |
|
◆ parse_static_cookie()
static void openvpn::ChallengeResponse::parse_static_cookie |
( |
const std::string & |
cookie, |
|
|
std::string & |
password, |
|
|
std::string & |
response |
|
) |
| |
|
inlinestatic |
◆ validate_dynamic()
static void openvpn::ChallengeResponse::validate_dynamic |
( |
const std::string & |
cookie | ) |
|
|
inlinestatic |
◆ challenge_text
std::string openvpn::ChallengeResponse::challenge_text |
|
private |
◆ echo
bool openvpn::ChallengeResponse::echo |
|
private |
◆ response_required
bool openvpn::ChallengeResponse::response_required |
|
private |
◆ state_id
std::string openvpn::ChallengeResponse::state_id |
|
private |
◆ username
std::string openvpn::ChallengeResponse::username |
|
private |
The documentation for this class was generated from the following file: