class GroupKeyStoreBase
Defined at line 122 of file x64-shared/gen/third_party/openweave-core/src/include/Weave/Profiles/security/WeaveApplicationKeys.h
The definition of the Weave group key store class. Functions in
this class are called to manage application group keys.
Protected Members
uint32_t LastUsedEpochKeyId
uint32_t NextEpochKeyStartTime
Public Methods
WEAVE_ERROR RetrieveGroupKey (uint32_t keyId, WeaveGroupKey & key)
Manage application group key material storage.
WEAVE_ERROR StoreGroupKey (const WeaveGroupKey & key)
WEAVE_ERROR DeleteGroupKey (uint32_t keyId)
WEAVE_ERROR DeleteGroupKeysOfAType (uint32_t keyType)
WEAVE_ERROR EnumerateGroupKeys (uint32_t keyType, uint32_t * keyIds, uint8_t keyIdsArraySize, uint8_t & keyCount)
WEAVE_ERROR Clear ()
WEAVE_ERROR GetCurrentUTCTime (uint32_t & utcTime)
Get the current time.
WEAVE_ERROR GetCurrentAppKeyId (uint32_t keyId, uint32_t & curKeyId)
Get current application key Id.
WEAVE_ERROR GetGroupKey (uint32_t keyId, WeaveGroupKey & groupKey)
Get/Derive group key.
WEAVE_ERROR DeriveApplicationKey (uint32_t & appKeyId, const uint8_t * keySalt, uint8_t saltLen, const uint8_t * keyDiversifier, uint8_t diversifierLen, uint8_t * appKey, uint8_t keyBufSize, uint8_t keyLen, uint32_t & appGroupGlobalId)
Derive application key.
Protected Methods
void Init ()
void OnEpochKeysChange ()
WEAVE_ERROR RetrieveLastUsedEpochKeyId ()
Retrieve and Store LastUsedEpochKeyId value.
WEAVE_ERROR StoreLastUsedEpochKeyId ()