Passwordfile library: io/passwordfile.cpp File Reference

Passwordfile library 5.2.0 C++ library to read/write passwords from/to encrypted files

Loading...
Searching...
No Matches
Namespaces | Enumerations | Functions | Variables
passwordfile.cpp File Reference
`#include "./passwordfile.h"`
`#include "./cryptoexception.h"`
`#include "./entry.h"`
`#include "./parsingexception.h"`
`#include "../util/openssl.h"`
`#include <c++utilities/conversion/stringbuilder.h>`
`#include <c++utilities/conversion/stringconversion.h>`
`#include <c++utilities/io/path.h>`
`#include <openssl/conf.h>`
`#include <openssl/crypto.h>`
`#include <openssl/err.h>`
`#include <openssl/evp.h>`
`#include <openssl/rand.h>`
`#include <zlib.h>`
`#include <cstring>`
`#include <filesystem>`
`#include <fstream>`
`#include <functional>`
`#include <iostream>`
`#include <limits>`
`#include <memory>`
`#include <sstream>`
`#include <type_traits>`
Include dependency graph for passwordfile.cpp:

Go to the source code of this file.

## Namespaces
namespace | Io
| Contains all IO related classes.

## Enumerations
enum class | Io::ExtendedHeaderFieldIds : std::uint32_t { Io::AuthTag = 0x686D6163U }

## 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.

## Variables
constexpr auto | Io::aes256cbcIvSize = 16U
constexpr auto | Io::aes256blockSize = 32U
constexpr auto | Io::aes256additionalBufferSize = aes256blockSize * 2U
constexpr auto | Io::authTagSize = Util::OpenSsl::Sha256Sum::size
constexpr auto | Io::extendedHeaderFieldIdSize = sizeof(std::underlying_type<ExtendedHeaderFieldIds>::type)
constexpr auto | Io::extendedAuthTagSize = extendedHeaderFieldIdSize + authTagSize