|
libkeepass 0.2.0
KeePass key database importer/exporter library
|
Keepass database file representation. More...
#include <kdb.hh>
Static Public Member Functions | |
| static std::unique_ptr< Database > | Import (const std::string &path, const Key &key) |
| Imports a KDB database from a file path. | |
| static std::unique_ptr< Database > | Import (std::istream &src, const Key &key) |
| Imports a KDB database from an input stream. | |
| static void | Export (const std::string &path, const Database &db, const Key &key) |
| Exports a database to a KDB file. | |
| static void | Export (std::ostream &dst, const Database &db, const Key &key) |
| Exports a database to an output stream in KDB format. | |
Keepass database file representation.
|
static |
Exports a database to a KDB file.
| path | Path to the output file. |
| db | The database to export. |
| key | The key used to encrypt the database. |
|
static |
Exports a database to an output stream in KDB format.
| dst | The output stream to write the KDB database to. |
| db | The database to export. |
| key | The key used to encrypt the database. |
|
static |
Imports a KDB database from a file path.
| path | Path to the KDB database file on disk. |
| key | The key used to decrypt the database. |
|
static |
Imports a KDB database from an input stream.
| src | The input stream containing the KDB database. |
| key | The key used to decrypt the database. |