#include <proto.hpp>
Definition at line 151 of file proto.hpp.
◆ ~ProtoContextCallbackInterface()
virtual openvpn::ProtoContextCallbackInterface::~ProtoContextCallbackInterface |
( |
| ) |
|
|
virtualdefault |
◆ active()
virtual void openvpn::ProtoContextCallbackInterface::active |
( |
bool |
primary | ) |
|
|
pure virtual |
◆ client_auth()
virtual void openvpn::ProtoContextCallbackInterface::client_auth |
( |
Buffer & |
buf | ) |
|
|
inlinevirtual |
Called on client to request username/password credentials. Should be overridden by derived class if credentials are required. username and password should be written into buf with write_auth_string().
Reimplemented in openvpn::ClientProto::Session, and TestProtoClient.
Definition at line 171 of file proto.hpp.
◆ control_net_send()
virtual void openvpn::ProtoContextCallbackInterface::control_net_send |
( |
const Buffer & |
net_buf | ) |
|
|
pure virtual |
◆ control_recv()
virtual void openvpn::ProtoContextCallbackInterface::control_recv |
( |
BufferPtr && |
app_bp | ) |
|
|
pure virtual |
◆ server_auth()
virtual void openvpn::ProtoContextCallbackInterface::server_auth |
( |
const std::string & |
username, |
|
|
const SafeString & |
password, |
|
|
const std::string & |
peer_info, |
|
|
const AuthCert::Ptr & |
auth_cert |
|
) |
| |
|
inlinevirtual |
◆ supports_proto_v3()
virtual bool openvpn::ProtoContextCallbackInterface::supports_proto_v3 |
( |
| ) |
|
|
pure virtual |
◆ write_empty_string()
static void openvpn::ProtoContextCallbackInterface::write_empty_string |
( |
Buffer & |
buf | ) |
|
|
inlinestatic |
Writes an empty user or password string for the key-method 2 packet in the OpenVPN protocol
- Parameters
-
Definition at line 190 of file proto.hpp.
The documentation for this class was generated from the following file: