OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::TLSSessionTicketBase Class Referenceabstract

#include <sess_ticket.hpp>

Classes

class  Key
 
class  Name
 

Public Types

enum  Status { NO_TICKET , TICKET_AVAILABLE , TICKET_EXPIRING }
 
typedef std::unique_ptr< TLSSessionTicketBaseUPtr
 

Public Member Functions

 OPENVPN_EXCEPTION (sess_ticket_error)
 
virtual Status create_session_ticket_key (Name &name, Key &key) const =0
 
virtual Status lookup_session_ticket_key (const Name &name, Key &key) const =0
 
virtual std::string session_id_context () const =0
 
virtual ~TLSSessionTicketBase ()=default
 

Static Private Member Functions

static void b64_to_key (const std::string &b64, const char *title, unsigned char *out, const size_t outlen)
 

Detailed Description

Definition at line 31 of file sess_ticket.hpp.

Member Typedef Documentation

◆ UPtr

Definition at line 34 of file sess_ticket.hpp.

Member Enumeration Documentation

◆ Status

Enumerator
NO_TICKET 
TICKET_AVAILABLE 
TICKET_EXPIRING 

Definition at line 38 of file sess_ticket.hpp.

Constructor & Destructor Documentation

◆ ~TLSSessionTicketBase()

virtual openvpn::TLSSessionTicketBase::~TLSSessionTicketBase ( )
virtualdefault

Member Function Documentation

◆ b64_to_key()

static void openvpn::TLSSessionTicketBase::b64_to_key ( const std::string &  b64,
const char *  title,
unsigned char *  out,
const size_t  outlen 
)
inlinestaticprivate

Definition at line 218 of file sess_ticket.hpp.

Here is the caller graph for this function:

◆ create_session_ticket_key()

virtual Status openvpn::TLSSessionTicketBase::create_session_ticket_key ( Name name,
Key key 
) const
pure virtual
Here is the caller graph for this function:

◆ lookup_session_ticket_key()

virtual Status openvpn::TLSSessionTicketBase::lookup_session_ticket_key ( const Name name,
Key key 
) const
pure virtual
Here is the caller graph for this function:

◆ OPENVPN_EXCEPTION()

openvpn::TLSSessionTicketBase::OPENVPN_EXCEPTION ( sess_ticket_error  )

◆ session_id_context()

virtual std::string openvpn::TLSSessionTicketBase::session_id_context ( ) const
pure virtual
Here is the caller graph for this function:

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