Passwordfile library
5.0.3
C++ library to read/write passwords from/to encrypted files
|
Contains all IO related classes. More...
Classes | |
class | AccountEntry |
The exception that is thrown when a parsing error occurs. More... | |
class | CryptoException |
The exception that is thrown when an encryption/decryption error occurs. More... | |
class | Entry |
Instances of the Entry class form a hierarchic data strucutre used to store account information. More... | |
struct | EntryStatistics |
class | Field |
The Field class holds field information which consists of a name and a value and is able to serialize and deserialize this information. More... | |
class | NodeEntry |
The NodeEntry class acts as parent for other entries. More... | |
class | ParsingException |
The exception that is thrown when a parsing error occurs. More... | |
class | 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... | |
Enumerations | |
enum | EntryType : int { EntryType::Node, EntryType::Account } |
Specifies the entry type. More... | |
enum | FieldType : int { FieldType::Normal, FieldType::Password } |
enum | PasswordFileOpenFlags : std::uint64_t { PasswordFileOpenFlags::None = 0, PasswordFileOpenFlags::ReadOnly = 1, PasswordFileOpenFlags::Default = None } |
enum | PasswordFileSaveFlags : std::uint64_t { PasswordFileSaveFlags::None = 0, PasswordFileSaveFlags::Encryption = 1, PasswordFileSaveFlags::Compression = 2, PasswordFileSaveFlags::PasswordHashing = 4, PasswordFileSaveFlags::AllowToCreateNewFile = 8, PasswordFileSaveFlags::Default = Encryption | Compression | PasswordHashing | AllowToCreateNewFile } |
Functions | |
PASSWORD_FILE_EXPORT std::string | flagsToString (PasswordFileOpenFlags flags) |
Returns a comma-separated string for the specified flags. More... | |
PASSWORD_FILE_EXPORT std::string | flagsToString (PasswordFileSaveFlags flags) |
Returns a comma-separated string for the specified flags. More... | |
Variables | |
const unsigned int | aes256cbcIvSize = 16U |
Contains all IO related classes.
|
strong |
Specifies the entry type.
Enumerator | |
---|---|
Node | denotes a NodeEntry |
Account | denotes an AccountEntry |
|
strong |
|
strong |
Enumerator | |
---|---|
None | |
ReadOnly | |
Default |
Definition at line 21 of file passwordfile.h.
|
strong |
Enumerator | |
---|---|
None | |
Encryption | |
Compression | |
PasswordHashing | |
AllowToCreateNewFile | |
Default |
Definition at line 29 of file passwordfile.h.
string Io::flagsToString | ( | PasswordFileOpenFlags | flags | ) |
Returns a comma-separated string for the specified flags.
Definition at line 771 of file passwordfile.cpp.
string Io::flagsToString | ( | PasswordFileSaveFlags | flags | ) |
Returns a comma-separated string for the specified flags.
Definition at line 786 of file passwordfile.cpp.
const unsigned int Io::aes256cbcIvSize = 16U |
Definition at line 31 of file passwordfile.cpp.