Listener for events occurring while processing a cipherpack message via encryptThenSign() and checkSignThenDecrypt().
More...
#include <cipherpack.hpp>
|
| | ~CipherpackListener () noexcept override=default |
| |
| virtual bool | contentProcessed (const bool decrypt_mode, const content_type ctype, cipherpack::secure_vector< uint8_t > &data, const bool is_final) noexcept |
| | User callback to receive the actual processed content, either the generated cipherpack or plaintext content depending on decrypt_mode.
|
| |
| std::string | get_java_class () const noexcept override |
| |
| virtual bool | getSendContent (const bool decrypt_mode) const noexcept |
| | User provided information whether process shall send the processed content via contentProcessed() or not.
|
| |
| virtual void | notifyEnd (const bool decrypt_mode, const PackHeader &header) noexcept |
| | User notification of successful completion.
|
| |
| virtual void | notifyError (const bool decrypt_mode, const PackHeader &, const std::string &msg) noexcept |
| | User notification about an error via text message and preliminary PackHeader.
|
| |
| virtual bool | notifyHeader (const bool decrypt_mode, const PackHeader &header) noexcept |
| | User notification of preliminary PackHeader w/o optional hash of the plaintext message.
|
| |
| virtual bool | notifyProgress (const bool decrypt_mode, const uint64_t plaintext_size, const uint64_t bytes_processed) noexcept |
| | User notification about content streaming progress.
|
| |
| bool | operator!= (const CipherpackListener &rhs) const noexcept |
| |
| virtual bool | operator== (const CipherpackListener &rhs) const noexcept |
| | Default comparison operator, merely testing for same memory reference.
|
| |
| std::string | toString () const noexcept override |
| |
Listener for events occurring while processing a cipherpack message via encryptThenSign() and checkSignThenDecrypt().
- See also
- Cipherpack Overview
-
Cipherpack Data Stream
- Examples
- commandline.cpp.
Definition at line 442 of file cipherpack.hpp.
◆ content_type
◆ ~CipherpackListener()
| cipherpack::CipherpackListener::~CipherpackListener |
( |
| ) |
|
|
overridedefaultnoexcept |
◆ notifyError()
| virtual void cipherpack::CipherpackListener::notifyError |
( |
const bool | decrypt_mode, |
|
|
const PackHeader & | , |
|
|
const std::string & | msg ) |
|
inlinevirtualnoexcept |
◆ notifyHeader()
| virtual bool cipherpack::CipherpackListener::notifyHeader |
( |
const bool | decrypt_mode, |
|
|
const PackHeader & | header ) |
|
inlinevirtualnoexcept |
◆ notifyProgress()
| virtual bool cipherpack::CipherpackListener::notifyProgress |
( |
const bool | decrypt_mode, |
|
|
const uint64_t | plaintext_size, |
|
|
const uint64_t | bytes_processed ) |
|
inlinevirtualnoexcept |
◆ notifyEnd()
| virtual void cipherpack::CipherpackListener::notifyEnd |
( |
const bool | decrypt_mode, |
|
|
const PackHeader & | header ) |
|
inlinevirtualnoexcept |
◆ getSendContent()
| virtual bool cipherpack::CipherpackListener::getSendContent |
( |
const bool | decrypt_mode | ) |
const |
|
inlinevirtualnoexcept |
◆ contentProcessed()
◆ toString()
| std::string cipherpack::CipherpackListener::toString |
( |
| ) |
const |
|
inlineoverridenoexcept |
◆ get_java_class()
| std::string cipherpack::CipherpackListener::get_java_class |
( |
| ) |
const |
|
inlineoverridenoexcept |
◆ java_class()
| static std::string cipherpack::CipherpackListener::java_class |
( |
| ) |
|
|
inlinestaticnoexcept |
◆ operator==()
| virtual bool cipherpack::CipherpackListener::operator== |
( |
const CipherpackListener & | rhs | ) |
const |
|
inlinevirtualnoexcept |
Default comparison operator, merely testing for same memory reference.
Specializations may override.
Definition at line 552 of file cipherpack.hpp.
◆ operator!=()
The documentation for this class was generated from the following file: