libkeepass 0.2.0
KeePass key database importer/exporter library
Loading...
Searching...
No Matches
kdbx_header.hh File Reference

KDBX outer header parser and serializer (KDBX 3 and KDBX 4). More...

#include <array>
#include <cstdint>
#include <istream>
#include <string>
#include "libkeepass/database.hh"
#include "libkeepass/detail/constants.hh"
#include "libkeepass/export.hh"

Go to the source code of this file.

Classes

class  keepass::KdbxHeader
 Parses and serializes the outer header of a KDBX database. More...
 

Detailed Description

KDBX outer header parser and serializer (KDBX 3 and KDBX 4).

This module isolates the KDBX outer header wire format from the rest of the import/export pipeline: the file signature and version prefix, the per-version header field layout, the cipher identifiers, the compression and inner-random-stream enums and the size caps used against malformed files. KdbxFile remains responsible for the cryptographic steps (key derivation, decryption, integrity verification) that surround the header.