| Botan
    1.10.16
    | 
#include <algo_cache.h>
| Public Member Functions | |
| void | add (T *algo, const std::string &requested_name, const std::string &provider_name) | 
| Algorithm_Cache (Mutex *m) | |
| void | clear_cache () | 
| const T * | get (const std::string &algo_spec, const std::string &pref_provider) | 
| std::vector< std::string > | providers_of (const std::string &algo_name) | 
| void | set_preferred_provider (const std::string &algo_spec, const std::string &provider) | 
| ~Algorithm_Cache () | |
Algorithm_Cache (used by Algorithm_Factory)
Definition at line 29 of file algo_cache.h.
| 
 | inline | 
Constructor
| m | a mutex to serialize internal access | 
Definition at line 74 of file algo_cache.h.
| 
 | inline | 
Definition at line 75 of file algo_cache.h.
| void Botan::Algorithm_Cache< T >::add | ( | T * | algo, | 
| const std::string & | requested_name, | ||
| const std::string & | provider_name | ||
| ) | 
Add a new algorithm implementation to the cache
| algo | the algorithm prototype object | 
| requested_name | how this name will be requested | 
| provider_name | is the name of the provider of this prototype | 
Definition at line 165 of file algo_cache.h.
| void Botan::Algorithm_Cache< T >::clear_cache | ( | ) | 
Clear the cache
Definition at line 228 of file algo_cache.h.
Referenced by Botan::Algorithm_Cache< Botan::MessageAuthenticationCode >::~Algorithm_Cache().
| const T * Botan::Algorithm_Cache< T >::get | ( | const std::string & | algo_spec, | 
| const std::string & | pref_provider | ||
| ) | 
| algo_spec | names the requested algorithm | 
| pref_provider | suggests a preferred provider | 
Definition at line 117 of file algo_cache.h.
| std::vector< std::string > Botan::Algorithm_Cache< T >::providers_of | ( | const std::string & | algo_name | ) | 
Return the list of providers of this algorithm
| algo_name | names the algorithm | 
Definition at line 190 of file algo_cache.h.
| void Botan::Algorithm_Cache< T >::set_preferred_provider | ( | const std::string & | algo_spec, | 
| const std::string & | provider | ||
| ) | 
Set the preferred provider
| algo_spec | names the algorithm | 
| provider | names the preferred provider | 
Definition at line 216 of file algo_cache.h.
 1.8.13
 1.8.13