OpenVPN 3 Core Library
Loading...
Searching...
No Matches
SessionID Struct Reference
Inheritance diagram for SessionID:
[legend]
Collaboration diagram for SessionID:
[legend]

Public Member Functions

 SessionID ()
 
 SessionID (StrongRandomAPI &rng)
 
 ~SessionID ()
 
void dump (const char *prefix) const
 
- Public Member Functions inherited from openvpn::SessionIDType< SIZE >
 SessionIDType ()
 
 SessionIDType (StrongRandomAPI &rng)
 
 SessionIDType (const std::string &b64)
 
 SessionIDType (const std::uint8_t *bytes)
 
template<size_t S>
 SessionIDType (const SessionIDType< S > &other)
 
template<typename CRYPT >
 SessionIDType (const SessionIDType &other, CRYPT &crypt)
 
bool defined () const
 
std::uint64_t shortform () const
 
template<typename HASH >
void hash (HASH &h) const
 
std::string to_string () const
 
bool operator== (const SessionIDType &other) const
 
bool operator!= (const SessionIDType &other) const
 
bool operator< (const SessionIDType &other) const
 
template<size_t S>
bool eq_weak (const SessionIDType< S > &other) const
 
const std::uint8_t * c_data () const
 
template<typename UNORDERED_MAP >
const SessionIDTypefind_weak (const UNORDERED_MAP &m, const bool conflict) const
 

Additional Inherited Members

- Static Public Member Functions inherited from openvpn::SessionIDType< SIZE >
static bool is (const std::string &str)
 
static constexpr size_t size ()
 

Detailed Description

Definition at line 113 of file test_session_id.cpp.

Constructor & Destructor Documentation

◆ SessionID() [1/2]

SessionID::SessionID ( )
inline

Definition at line 115 of file test_session_id.cpp.

◆ SessionID() [2/2]

SessionID::SessionID ( StrongRandomAPI rng)
inline

Definition at line 120 of file test_session_id.cpp.

◆ ~SessionID()

SessionID::~SessionID ( )
inline

Definition at line 126 of file test_session_id.cpp.

Member Function Documentation

◆ dump()

void SessionID::dump ( const char *  prefix) const
inline

Definition at line 131 of file test_session_id.cpp.


The documentation for this struct was generated from the following file: