Android-cuttlefish cvd tool
Public Member Functions | List of all members
cuttlefish::secure_env::Storage Class Referenceabstract

#include <storage.h>

Inheritance diagram for cuttlefish::secure_env::Storage:
Inheritance graph
[legend]

Public Member Functions

virtual Result< bool > HasKey (const std::string &key) const =0
 
virtual Result< ManagedStorageDataRead (const std::string &key) const =0
 
virtual Result< void > Write (const std::string &key, const StorageData &data)=0
 
virtual bool Exists () const =0
 
virtual ~Storage ()=default
 

Detailed Description

Storage abstraction to store binary blobs associated with string key

Constructor & Destructor Documentation

◆ ~Storage()

virtual cuttlefish::secure_env::Storage::~Storage ( )
virtualdefault

Member Function Documentation

◆ Exists()

virtual bool cuttlefish::secure_env::Storage::Exists ( ) const
pure virtual

◆ HasKey()

virtual Result< bool > cuttlefish::secure_env::Storage::HasKey ( const std::string &  key) const
pure virtual

◆ Read()

virtual Result< ManagedStorageData > cuttlefish::secure_env::Storage::Read ( const std::string &  key) const
pure virtual

◆ Write()

virtual Result< void > cuttlefish::secure_env::Storage::Write ( const std::string &  key,
const StorageData data 
)
pure virtual

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