OpenVPN 3 Core Library
Loading...
Searching...
No Matches
openvpn::CertCRLListTemplate< CertList, CRLList > Class Template Reference

#include <cclist.hpp>

Public Member Functions

 OPENVPN_EXCEPTION (parse_cert_crl_error)
 
 CertCRLListTemplate ()
 
 CertCRLListTemplate (const std::string &content, const std::string &title)
 
void parse_pem (const std::string &content, const std::string &title)
 
void parse_pem_file (const std::string &filename)
 
std::string render_pem () const
 

Static Public Member Functions

static void from_istream (std::istream &in, const std::string &title, CertList *cert_list, CRLList *crl_list)
 
static void from_string (const std::string &content, const std::string &title, CertList *cert_list, CRLList *crl_list=nullptr)
 
static void from_file (const std::string &filename, CertList *cert_list, CRLList *crl_list=nullptr)
 

Public Attributes

CertList certs
 
CRLList crls
 

Detailed Description

template<typename CertList, typename CRLList>
class openvpn::CertCRLListTemplate< CertList, CRLList >

Definition at line 30 of file cclist.hpp.

Constructor & Destructor Documentation

◆ CertCRLListTemplate() [1/2]

template<typename CertList , typename CRLList >
openvpn::CertCRLListTemplate< CertList, CRLList >::CertCRLListTemplate ( )
inline

Definition at line 35 of file cclist.hpp.

◆ CertCRLListTemplate() [2/2]

template<typename CertList , typename CRLList >
openvpn::CertCRLListTemplate< CertList, CRLList >::CertCRLListTemplate ( const std::string &  content,
const std::string &  title 
)
inlineexplicit

Definition at line 39 of file cclist.hpp.

Member Function Documentation

◆ from_file()

template<typename CertList , typename CRLList >
static void openvpn::CertCRLListTemplate< CertList, CRLList >::from_file ( const std::string &  filename,
CertList *  cert_list,
CRLList *  crl_list = nullptr 
)
inlinestatic

Definition at line 139 of file cclist.hpp.

Here is the caller graph for this function:

◆ from_istream()

template<typename CertList , typename CRLList >
static void openvpn::CertCRLListTemplate< CertList, CRLList >::from_istream ( std::istream &  in,
const std::string &  title,
CertList *  cert_list,
CRLList *  crl_list 
)
inlinestatic

Definition at line 59 of file cclist.hpp.

Here is the caller graph for this function:

◆ from_string()

template<typename CertList , typename CRLList >
static void openvpn::CertCRLListTemplate< CertList, CRLList >::from_string ( const std::string &  content,
const std::string &  title,
CertList *  cert_list,
CRLList *  crl_list = nullptr 
)
inlinestatic

Definition at line 133 of file cclist.hpp.

Here is the caller graph for this function:

◆ OPENVPN_EXCEPTION()

template<typename CertList , typename CRLList >
openvpn::CertCRLListTemplate< CertList, CRLList >::OPENVPN_EXCEPTION ( parse_cert_crl_error  )

◆ parse_pem()

template<typename CertList , typename CRLList >
void openvpn::CertCRLListTemplate< CertList, CRLList >::parse_pem ( const std::string &  content,
const std::string &  title 
)
inline

Definition at line 44 of file cclist.hpp.

Here is the caller graph for this function:

◆ parse_pem_file()

template<typename CertList , typename CRLList >
void openvpn::CertCRLListTemplate< CertList, CRLList >::parse_pem_file ( const std::string &  filename)
inline

Definition at line 49 of file cclist.hpp.

Here is the caller graph for this function:

◆ render_pem()

template<typename CertList , typename CRLList >
std::string openvpn::CertCRLListTemplate< CertList, CRLList >::render_pem ( ) const
inline

Definition at line 54 of file cclist.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ certs

template<typename CertList , typename CRLList >
CertList openvpn::CertCRLListTemplate< CertList, CRLList >::certs

Definition at line 149 of file cclist.hpp.

◆ crls

template<typename CertList , typename CRLList >
CRLList openvpn::CertCRLListTemplate< CertList, CRLList >::crls

Definition at line 150 of file cclist.hpp.


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