Passwordfile library
5.0.0
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 | |
Io | |
Contains all IO related classes. | |
Enumerations | |
enum | Io::PasswordFileOpenFlags : std::uint64_t { Io::PasswordFileOpenFlags::None = 0, Io::PasswordFileOpenFlags::ReadOnly = 1, Io::PasswordFileOpenFlags::Default = None } |
enum | Io::PasswordFileSaveFlags : std::uint64_t { Io::PasswordFileSaveFlags::None = 0, Io::PasswordFileSaveFlags::Encryption = 1, Io::PasswordFileSaveFlags::Compression = 2, Io::PasswordFileSaveFlags::PasswordHashing = 4, Io::PasswordFileSaveFlags::AllowToCreateNewFile = 8, Io::PasswordFileSaveFlags::Default = Encryption | Compression | PasswordHashing | AllowToCreateNewFile } |
Functions | |
std::string PASSWORD_FILE_EXPORT | Io::flagsToString (PasswordFileOpenFlags flags) |
Returns a comma-separated string for the specified flags. More... | |
std::string PASSWORD_FILE_EXPORT | Io::flagsToString (PasswordFileSaveFlags flags) |
Returns a comma-separated string for the specified flags. More... | |
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 | |||
) |