|
Passwordfile library 5.0.12
C++ library to read/write passwords from/to encrypted files
|
#include "../global.h"#include <c++utilities/io/binaryreader.h>#include <c++utilities/io/binarywriter.h>#include <c++utilities/io/nativefilestream.h>#include <c++utilities/misc/flagenumclass.h>#include <cstdint>#include <fstream>#include <iostream>#include <memory>#include <string>Go to the source code of this file.
Classes | |
| class | Io::PasswordFile |
| The PasswordFile class holds account information in the form of Entry and Field instances and provides methods to read and write these information to encrypted files using OpenSSL. More... | |
Namespaces | |
| namespace | Io |
| Contains all IO related classes. | |
Enumerations | |
| enum class | Io::PasswordFileOpenFlags : std::uint64_t { Io::None = 0 , Io::ReadOnly = 1 , Io::Default = None } |
| enum class | Io::PasswordFileSaveFlags : std::uint64_t { Io::None = 0 , Io::Encryption = 1 , Io::Compression = 2 , Io::PasswordHashing = 4 , Io::AllowToCreateNewFile = 8 , Io::Default = Encryption | Compression | PasswordHashing | AllowToCreateNewFile } |
Functions | |
| PASSWORD_FILE_EXPORT std::string | Io::flagsToString (PasswordFileOpenFlags flags) |
| Returns a comma-separated string for the specified flags. | |
| PASSWORD_FILE_EXPORT std::string | Io::flagsToString (PasswordFileSaveFlags flags) |
| Returns a comma-separated string for the specified flags. | |
| CPP_UTILITIES_MARK_FLAG_ENUM_CLASS (Io, Io::PasswordFileOpenFlags) | |
| CPP_UTILITIES_MARK_FLAG_ENUM_CLASS (Io, Io::PasswordFileSaveFlags) | |
| CPP_UTILITIES_MARK_FLAG_ENUM_CLASS | ( | Io | , |
| Io::PasswordFileOpenFlags | ) |
| CPP_UTILITIES_MARK_FLAG_ENUM_CLASS | ( | Io | , |
| Io::PasswordFileSaveFlags | ) |