Passwordfile library  4.0.0
C++ library to read/write passwords from/to encrypted files
Classes | Namespaces | Enumerations | Functions
passwordfile.h File Reference
#include "../global.h"
#include <c++utilities/io/binaryreader.h>
#include <c++utilities/io/binarywriter.h>
#include <c++utilities/io/nativefilestream.h>
#include <fstream>
#include <iostream>
#include <memory>
#include <string>
Include dependency graph for passwordfile.h:
This graph shows which files directly or indirectly include this file:

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 : uint64 { Io::PasswordFileOpenFlags::None = 0, Io::PasswordFileOpenFlags::ReadOnly = 1, Io::PasswordFileOpenFlags::Default = None }
 
enum  Io::PasswordFileSaveFlags : uint64 {
  Io::PasswordFileSaveFlags::None = 0, Io::PasswordFileSaveFlags::Encryption = 1, Io::PasswordFileSaveFlags::Compression = 2, Io::PasswordFileSaveFlags::PasswordHashing = 4,
  Io::PasswordFileSaveFlags::Default = Encryption | Compression | PasswordHashing
}
 

Functions

std::string PASSWORD_FILE_EXPORT Io::flagsToString (PasswordFileOpenFlags flags)
 Returns a comma-separated string for the specified flags. More...
 
constexpr PasswordFileOpenFlags Io::operator| (PasswordFileOpenFlags lhs, PasswordFileOpenFlags rhs)
 
constexpr PasswordFileOpenFlags & Io::operator|= (PasswordFileOpenFlags &lhs, PasswordFileOpenFlags rhs)
 
constexpr bool Io::operator & (PasswordFileOpenFlags lhs, PasswordFileOpenFlags rhs)
 
std::string PASSWORD_FILE_EXPORT Io::flagsToString (PasswordFileSaveFlags flags)
 Returns a comma-separated string for the specified flags. More...
 
constexpr PasswordFileSaveFlags Io::operator| (PasswordFileSaveFlags lhs, PasswordFileSaveFlags rhs)
 
constexpr PasswordFileSaveFlags & Io::operator|= (PasswordFileSaveFlags &lhs, PasswordFileSaveFlags rhs)
 
constexpr bool Io::operator & (PasswordFileSaveFlags lhs, PasswordFileSaveFlags rhs)