Android-cuttlefish cvd tool
|
#include <gatekeeper_storage.h>
Public Member Functions | |
virtual | ~GatekeeperStorage ()=default |
virtual bool | Allocate (const Json::Value &key, uint16_t size)=0 |
virtual bool | HasKey (const Json::Value &key) const =0 |
virtual std::unique_ptr< TPM2B_MAX_NV_BUFFER > | Read (const Json::Value &key) const =0 |
virtual bool | Write (const Json::Value &key, const TPM2B_MAX_NV_BUFFER &data)=0 |
Data storage tailored to Gatekeeper's storage needs: storing binary blobs that can be destroyed without a trace or corrupted with an obvious trace, but not silently tampered with or read by an unauthorized user.
Data can be stored through Write and retrieved through Read. To delete data, issue a Write that overwrites the data to destroy it.
|
virtualdefault |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |