|
CCF
|
#include <enclave_lfs_access.h>
Inherits ccf::indexing::AbstractLFSAccess.
Public Member Functions | |
| EnclaveLFSAccess (ringbuffer::WriterPtr writer) | |
| void | register_message_handlers (messaging::Dispatcher< ringbuffer::Message > &dispatcher) |
| void | store (const LFSKey &key, LFSContents &&contents) override |
| FetchResultPtr | fetch (const LFSKey &key) override |
Public Member Functions inherited from ccf::indexing::AbstractLFSAccess | |
| ~AbstractLFSAccess () override=default | |
Public Member Functions inherited from ccf::AbstractNodeSubSystem | |
| virtual | ~AbstractNodeSubSystem ()=default |
Static Public Member Functions | |
| static LFSKey | obfuscate_key (const LFSKey &key) |
Static Public Member Functions inherited from ccf::indexing::AbstractLFSAccess | |
| static char const * | get_subsystem_name () |
Protected Types | |
| using | PendingResult = std::weak_ptr< FetchResult > |
Protected Member Functions | |
| LFSEncryptedContents | encrypt (const LFSKey &key, LFSContents &&contents) |
Protected Attributes | |
| std::unordered_map< LFSKey, PendingResult > | pending |
| ccf::pal::Mutex | pending_access |
| ringbuffer::WriterPtr | to_host |
| ccf::crypto::EntropyPtr | entropy_src |
| std::unique_ptr< ccf::crypto::KeyAesGcm > | encryption_key |
|
protected |
|
inline |
|
inlineprotected |
|
inlineoverridevirtual |
Implements ccf::indexing::AbstractLFSAccess.
|
inline |
|
inlineoverridevirtual |
Implements ccf::indexing::AbstractLFSAccess.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |