|
Botan 1.10.17
|
#include <datastor.h>
Classes | |
| class | Matcher |
Public Member Functions | |
| void | add (const std::multimap< std::string, std::string > &) |
| void | add (const std::string &, const MemoryRegion< byte > &) |
| void | add (const std::string &, const std::string &) |
| void | add (const std::string &, u32bit) |
| 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.
| 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().
| 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 ) |
| std::vector< std::string > Botan::Data_Store::get | ( | const std::string & | looking_for | ) | const |
Definition at line 72 of file datastor.cpp.
Referenced by get1(), get1_memvec(), and get1_u32bit().
| std::string Botan::Data_Store::get1 | ( | const std::string & | key | ) | const |
Definition at line 87 of file datastor.cpp.
References get(), and Botan::Invalid_State::Invalid_State().
| MemoryVector< byte > Botan::Data_Store::get1_memvec | ( | const std::string & | key | ) | const |
Definition at line 103 of file datastor.cpp.
References get(), Botan::hex_decode(), and Botan::Invalid_State::Invalid_State().
Definition at line 120 of file datastor.cpp.
References get(), Botan::Invalid_State::Invalid_State(), and Botan::to_u32bit().
Referenced by Botan::CRL_Entry::decode_from().
| 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().