14 #include <boost/noncopyable.hpp> 15 #include <boost/shared_ptr.hpp> 20 namespace cryptolink {
49 typedef boost::shared_ptr<RNG>
RNGPtr;
79 BadKey(
const char* file,
size_t line,
const char*
what) :
153 static std::string getVersion();
205 HMAC* createHMAC(
const void* secret,
size_t secret_len,
214 virtual RNGPtr& getRNG();
239 CryptoLinkImplPtr impl_;
248 #endif // ISC_CRYPTO_H This exception is raised when a general error that was not specifically caught is thrown by the under...
boost::shared_ptr< CryptoLinkImpl > CryptoLinkImplPtr
Type representing the pointer to the CryptoLinkImpl.
virtual const char * what() const
Returns a C-style character string of the cause of the exception.
HashAlgorithm
Hash algorithm identifiers.
InitializationError(const char *file, size_t line, const char *what)
LibraryError(const char *file, size_t line, const char *what)
This exception is thrown when a cryptographic action is requested for an algorithm that is not suppor...
General exception class that is the base for all crypto-related exceptions.
Singleton entry point and factory class.
This exception is thrown when the underlying library could not handle the key data.
CryptoLinkError(const char *file, size_t line, const char *what)
This is a base class for exceptions thrown from the DNS library module.
Defines the logger used by the top-level component of kea-lfc.
boost::shared_ptr< RNG > RNGPtr
Type representing the pointer to the RNG.
This value can be used in conversion functions, to be returned when the input is unknown (but a value...
This exception is thrown if there was a problem initializing the crypto library.
Botan implementation of RNG.
UnsupportedAlgorithm(const char *file, size_t line, const char *what)
BadKey(const char *file, size_t line, const char *what)