OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::TLSVersion Namespace Reference

Enumerations

enum class  Type {
  UNDEF , V1_0 , V1_1 , V1_2 ,
  V1_3
}
 

Functions

int toTLSVersion (const Type version)
 
bool operator< (const Type &A, const Type &B)
 
const std::string to_string (const Type version)
 
Type parse_tls_version_min (const std::string &ver, const bool or_highest, const Type max_version)
 
Type parse_tls_version_min (const OptionList &opt, const std::string &relay_prefix, const Type max_version)
 
void apply_override (Type &tvm, const std::string &override)
 

Enumeration Type Documentation

◆ Type

enum class openvpn::TLSVersion::Type
strong
Enumerator
UNDEF 
V1_0 
V1_1 
V1_2 
V1_3 

Definition at line 24 of file tlsver.hpp.

Function Documentation

◆ apply_override()

void openvpn::TLSVersion::apply_override ( Type tvm,
const std::string &  override 
)
inline

Definition at line 89 of file tlsver.hpp.

Here is the caller graph for this function:

◆ operator<()

bool openvpn::TLSVersion::operator< ( const Type A,
const Type B 
)
inline

Definition at line 33 of file tlsver.hpp.

◆ parse_tls_version_min() [1/2]

Type openvpn::TLSVersion::parse_tls_version_min ( const OptionList opt,
const std::string &  relay_prefix,
const Type  max_version 
)
inline

Definition at line 75 of file tlsver.hpp.

◆ parse_tls_version_min() [2/2]

Type openvpn::TLSVersion::parse_tls_version_min ( const std::string &  ver,
const bool  or_highest,
const Type  max_version 
)
inline

Definition at line 57 of file tlsver.hpp.

Here is the caller graph for this function:

◆ to_string()

const std::string openvpn::TLSVersion::to_string ( const Type  version)
inline

Definition at line 38 of file tlsver.hpp.

◆ toTLSVersion()

int openvpn::TLSVersion::toTLSVersion ( const Type  version)
inline

Definition at line 20 of file tlsver.hpp.

Here is the caller graph for this function: