Botan
1.10.9
|
#include <datastor.h>
Classes | |
class | Matcher |
Public Member Functions | |
void | add (const std::multimap< std::string, std::string > &) |
void | add (const std::string &, const std::string &) |
void | add (const std::string &, u32bit) |
void | add (const std::string &, const MemoryRegion< byte > &) |
std::vector< std::string > | get (const std::string &) const |
std::string | get1 (const std::string &) const |
MemoryVector< byte > | get1_memvec (const std::string &) const |
u32bit | get1_u32bit (const std::string &, u32bit=0) const |
bool | has_value (const std::string &) const |
bool | operator== (const Data_Store &) const |
std::multimap< std::string, std::string > | search_with (const Matcher &) const |
Data Store
Definition at line 22 of file datastor.h.
void Botan::Data_Store::add | ( | const std::multimap< std::string, std::string > & | in | ) |
Definition at line 161 of file datastor.cpp.
Referenced by add().
void Botan::Data_Store::add | ( | const std::string & | key, |
const std::string & | val | ||
) |
Definition at line 137 of file datastor.cpp.
References Botan::multimap_insert().
void Botan::Data_Store::add | ( | const std::string & | key, |
u32bit | val | ||
) |
Definition at line 145 of file datastor.cpp.
References add(), and Botan::to_string().
void Botan::Data_Store::add | ( | const std::string & | key, |
const MemoryRegion< byte > & | val | ||
) |
Definition at line 153 of file datastor.cpp.
References add(), Botan::hex_encode(), and Botan::MemoryRegion< T >::size().
std::vector< std::string > Botan::Data_Store::get | ( | const std::string & | looking_for | ) | const |
Definition at line 72 of file datastor.cpp.
Referenced by Botan::PKCS10_Request::ex_constraints(), Botan::X509_Certificate::ex_constraints(), Botan::X509_Certificate::issuer_info(), Botan::X509_Certificate::policies(), and Botan::X509_Certificate::subject_info().
std::string Botan::Data_Store::get1 | ( | const std::string & | key | ) | const |
Definition at line 87 of file datastor.cpp.
Referenced by Botan::PKCS10_Request::challenge_password(), Botan::X509_Certificate::end_time(), Botan::X509_CRL::next_update(), Botan::PKCS10_Request::raw_public_key(), Botan::X509_Certificate::start_time(), Botan::PKCS10_Request::subject_public_key(), Botan::X509_Certificate::subject_public_key(), and Botan::X509_CRL::this_update().
MemoryVector< byte > Botan::Data_Store::get1_memvec | ( | const std::string & | key | ) | const |
Definition at line 103 of file datastor.cpp.
References Botan::hex_decode().
Referenced by Botan::X509_CRL::authority_key_id(), Botan::X509_Certificate::authority_key_id(), Botan::X509_Certificate::serial_number(), and Botan::X509_Certificate::subject_key_id().
Definition at line 120 of file datastor.cpp.
References Botan::to_u32bit().
Referenced by Botan::PKCS10_Request::constraints(), Botan::X509_Certificate::constraints(), Botan::X509_CRL::crl_number(), Botan::CRL_Entry::decode_from(), Botan::PKCS10_Request::is_CA(), Botan::X509_Certificate::is_CA_cert(), Botan::PKCS10_Request::path_limit(), Botan::X509_Certificate::path_limit(), and Botan::X509_Certificate::x509_version().
bool Botan::Data_Store::has_value | ( | const std::string & | key | ) | const |
Definition at line 37 of file datastor.cpp.
bool Botan::Data_Store::operator== | ( | const Data_Store & | other | ) | const |
Definition at line 29 of file datastor.cpp.
std::multimap< std::string, std::string > Botan::Data_Store::search_with | ( | const Matcher & | matcher | ) | const |
Definition at line 46 of file datastor.cpp.
References Botan::multimap_insert(), and Botan::Data_Store::Matcher::transform().
Referenced by Botan::create_alt_name(), and Botan::create_dn().