class GroupKeyStoreBase
Defined at line 122 of file 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_tkeyType,uint32_t *keyIds,uint8_tkeyIdsArraySize,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_tsaltLen,const uint8_t *keyDiversifier,uint8_tdiversifierLen,uint8_t *appKey,uint8_tkeyBufSize,uint8_tkeyLen,uint32_t &appGroupGlobalId)
Derive application key.
Protected Methods
void Init ()
void OnEpochKeysChange ()
WEAVE_ERROR RetrieveLastUsedEpochKeyId ()
Retrieve and Store LastUsedEpochKeyId value.
WEAVE_ERROR StoreLastUsedEpochKeyId ()