A TEE_ObjectInfo structure contains information about a storage object:
Definition at line 59 of file tee_trusted_storage_datatypes.h.
Data Fields | |
uint32_t | objectType |
The parameter objectType passed during object creation, i.e persistent or transient. More... | |
uint32_t | objectSize |
Contains the size of storage object. More... | |
uint32_t | maxObjectSize |
Equal to objecSize for a persistent object. More... | |
uint32_t | objectUsage |
Defines the scope of usage for the storage object. More... | |
uint32_t | dataSize |
Set to the current size of the data associated with the object for persistent objects. More... | |
uint32_t | dataPosition |
Set to the current position in the data for the current handle. More... | |
uint32_t | handleFlags |
A bit vector containing one or more of the following flags: More... | |
uint32_t TEE_ObjectInfo::dataPosition |
Set to the current position in the data for the current handle.
Data positions for different handles on the same object may differ. Set to 0 for transient objects.
Definition at line 83 of file tee_trusted_storage_datatypes.h.
uint32_t TEE_ObjectInfo::dataSize |
Set to the current size of the data associated with the object for persistent objects.
Always set to 0 for transient objects.
Definition at line 79 of file tee_trusted_storage_datatypes.h.
uint32_t TEE_ObjectInfo::handleFlags |
A bit vector containing one or more of the following flags:
Definition at line 93 of file tee_trusted_storage_datatypes.h.
uint32_t TEE_ObjectInfo::maxObjectSize |
Equal to objecSize for a persistent object.
Size is passed to TEE_AllocateTransientObject for transient objects.
Definition at line 69 of file tee_trusted_storage_datatypes.h.
uint32_t TEE_ObjectInfo::objectSize |
Contains the size of storage object.
Set to 0 for an uninitialized object.
Definition at line 66 of file tee_trusted_storage_datatypes.h.
uint32_t TEE_ObjectInfo::objectType |
The parameter objectType passed during object creation, i.e persistent or transient.
Definition at line 63 of file tee_trusted_storage_datatypes.h.
uint32_t TEE_ObjectInfo::objectUsage |
Defines the scope of usage for the storage object.
A bit vector of the TEE_USAGE_XXX bits defined in TEE_TRUSTED_STORAGE_CONSTANTS_H. It is initialized to 0xFFFFFFFF and the scope can be narrowed by calling TEE_SetRestrictUsage
Definition at line 75 of file tee_trusted_storage_datatypes.h.