Passwordfile library  3.2.0
C++ library to read/write passwords from/to encrypted files
cryptoexception.h
Go to the documentation of this file.
1 #ifndef PASSWORD_FILE_IO_CRYPTOFAILUREEXCEPTION_H
2 #define PASSWORD_FILE_IO_CRYPTOFAILUREEXCEPTION_H
3 
4 #include "../global.h"
5 
6 #include <stdexcept>
7 #include <string>
8 
9 namespace Io {
10 
11 class PASSWORD_FILE_EXPORT CryptoException : public std::runtime_error {
12 public:
13  CryptoException(const std::string &openSslErrorQueue) noexcept;
14  ~CryptoException() noexcept;
15 };
16 } // namespace Io
17 
18 #endif // PASSWORD_FILE_IO_CRYPTOFAILUREEXCEPTION_H
Contains all IO related classes.
#define PASSWORD_FILE_EXPORT
Marks the symbol to be exported by the passwordfile library.
The exception that is thrown when an encryption/decryption error occurs.