14#include <boost/noncopyable.hpp> 
   15#include <boost/shared_ptr.hpp> 
   48typedef boost::shared_ptr<RNG> 
RNGPtr;
 
   78    BadKey(
const char* file, 
size_t line, 
const char* 
what) :
 
 
 
  136class CryptoLink : 
private boost::noncopyable {
 
  236    void initialize(CryptoLink& c);
 
 
Exception(const char *file, size_t line, const char *what)
Constructor for a given type for exceptions with file name and file line number.
virtual const char * what() const
Returns a C-style character string of the cause of the exception.
BadKey(const char *file, size_t line, const char *what)
CryptoLinkError(const char *file, size_t line, const char *what)
Hash * createHash(const HashAlgorithm hash_algorithm)
Factory function for Hash objects.
virtual RNGPtr const & getRNG() const
Get the global RNG.
static CryptoLink & getCryptoLink()
Returns a reference to the singleton instance.
HMAC * createHMAC(const void *secret, size_t secret_len, const HashAlgorithm hash_algorithm)
Factory function for HMAC objects.
static std::string getVersion()
Get version string.
InitializationError(const char *file, size_t line, const char *what)
LibraryError(const char *file, size_t line, const char *what)
Botan implementation of RNG.
UnsupportedAlgorithm(const char *file, size_t line, const char *what)
boost::shared_ptr< RNG > RNGPtr
Type representing the pointer to the RNG.
boost::shared_ptr< CryptoLinkImpl > CryptoLinkImplPtr
Type representing the pointer to the CryptoLinkImpl.
HashAlgorithm
Hash algorithm identifiers.
Defines the logger used by the top-level component of kea-lfc.