This class provides mechanism to load the certificates from the filesystem according the struecture defined in ETSI TS 103 099.
More...
#include <certificates_loader.hh>
This class provides mechanism to load the certificates from the filesystem according the struecture defined in ETSI TS 103 099.
◆ certificates_loader()
certificates_loader::certificates_loader |
( |
| ) |
|
|
private |
◆ ~certificates_loader()
certificates_loader::~certificates_loader |
( |
| ) |
|
|
inlineprivate |
◆ build_certificates_cache()
int certificates_loader::build_certificates_cache |
( |
std::set< std::experimental::filesystem::path > & |
p_files, |
|
|
std::map< std::string, std::unique_ptr< security_db_record > > & |
p_certificates, |
|
|
std::map< std::vector< unsigned char >, std::string > & |
p_hashed_id8s |
|
) |
| |
|
private |
◆ build_path()
int certificates_loader::build_path |
( |
const std::string & |
p_root_directory | ) |
|
◆ get_instance()
Public accessor to the single object reference.
◆ load_certificates()
int certificates_loader::load_certificates |
( |
std::map< std::string, std::unique_ptr< security_db_record > > & |
p_certificates, |
|
|
std::map< std::vector< unsigned char >, std::string > & |
p_hashed_id8s |
|
) |
| |
◆ retrieve_certificates_list()
int certificates_loader::retrieve_certificates_list |
( |
std::set< std::experimental::filesystem::path > & |
p_files | ) |
|
|
private |
◆ save_certificate()
◆ _certificateExt
std::string certificates_loader::_certificateExt |
|
private |
◆ _directory_filter
std::set<std::string> certificates_loader::_directory_filter |
|
private |
Directory filter (for local development purposes only.
◆ _full_path
std::experimental::filesystem::path certificates_loader::_full_path |
|
private |
The full folder path to load certificates.
◆ _hashedidDigestExt
std::string certificates_loader::_hashedidDigestExt |
|
private |
◆ _is_cache_initialized
bool certificates_loader::_is_cache_initialized |
|
private |
Set to true when certificates are successfully loaded from file system.
◆ _issuerDigestExt
std::string certificates_loader::_issuerDigestExt |
|
private |
◆ _privateEncKeyExt
std::string certificates_loader::_privateEncKeyExt |
|
private |
◆ _privateKeyExt
std::string certificates_loader::_privateKeyExt |
|
private |
◆ _publicEncKeysExt
std::string certificates_loader::_publicEncKeysExt |
|
private |
◆ _publicKeysExt
std::string certificates_loader::_publicKeysExt |
|
private |
◆ instance
Unique static object reference of this class.
The documentation for this class was generated from the following files: