CCF
|
#include <enclave_lfs_access.h>
Inherits ccf::indexing::AbstractLFSAccess.
Public Member Functions | |
EnclaveLFSAccess (const 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 |
![]() | |
virtual | ~AbstractLFSAccess ()=default |
![]() | |
virtual | ~AbstractNodeSubSystem ()=default |
Static Public Member Functions | |
static LFSKey | obfuscate_key (const LFSKey &key) |
![]() | |
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 |