userver: dump::EncryptedReader Class Reference
Loading...
Searching...
No Matches
dump::EncryptedReader Class Referencefinal

Detailed Description

Definition at line 34 of file operations_encrypted.hpp.

+ Inheritance diagram for dump::EncryptedReader:
+ Collaboration diagram for dump::EncryptedReader:

Public Member Functions

 EncryptedReader (std::string filename, const SecretKey &key)
 Opens an existing dump file.
 
void Finish () override
 Must be called once all data has been read.
 
- Public Member Functions inherited from dump::Reader
template<typename T >
Read ()
 Reads binary data.
 

Additional Inherited Members

Constructor & Destructor Documentation

◆ EncryptedReader()

dump::EncryptedReader::EncryptedReader ( std::string filename,
const SecretKey & key )

Opens an existing dump file.

Exceptions
`Error`on a filesystem error

Member Function Documentation

◆ Finish()

void dump::EncryptedReader::Finish ( )
overridevirtual

Must be called once all data has been read.

Warning
This method must not be called from within Write/Read
Exceptions
`Error`on read operation failure or if there is leftover data

Implements dump::Reader.


The documentation for this class was generated from the following file: