Definition at line 21 of file operations_encrypted.hpp.
Public Member Functions | |
| EncryptedWriter (std::string filename, const SecretKey &secret_key, std::filesystem::perms perms, tracing::ScopeTime &scope) | |
| Creates a new dump file and opens it. | |
| template<fs::blocking::impl::LegacyPermissions Permissions> | |
| EncryptedWriter (std::string filename, const SecretKey &secret_key, Permissions perms, tracing::ScopeTime &scope) | |
| void | Finish () override |
| Must be called once all data has been written. | |
| template<typename T> | |
| void | Write (const T &data) |
| Writes binary data. | |
| dump::EncryptedWriter::EncryptedWriter | ( | std::string | filename, |
| const SecretKey & | secret_key, | ||
| std::filesystem::perms | perms, | ||
| tracing::ScopeTime & | scope ) |
Creates a new dump file and opens it.
| perms | final permissions to set on the dump file |
| `Error` | on a filesystem error |
|
inline |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Accepts boost::filesystem::perms; permission option flags are ignored.
Definition at line 37 of file operations_encrypted.hpp.
|
overridevirtual |
Must be called once all data has been written.
| `Error` | on write operation failure |
Implements dump::Writer.
|
inherited |
Writes binary data.
Calls ADL-found Write(writer, data)
| `Error` | and any user-thrown std::exception |
Definition at line 101 of file operations.hpp.