Schema::Weave::Trait::Auth::ApplicationKeysTrait::ApplicationKeysTraitDataSink

#include <src/lib/profiles/security/ApplicationKeysTraitDataSink.h>

包含 Weave 应用密钥特征数据接收器的接口。

摘要

继承

继承自 :TraitDataSink

构造函数和析构函数

ApplicationKeysTraitDataSink(void)
构造函数方法。

受保护的属性

GroupKeyStore

公共函数

OnEvent(uint16_t aType, void *aInEventParam) __OVERRIDE
系统会调用此方法来指示事件的发生。
SetGroupKeyStore(nl::Weave::Profiles::Security::AppKeys::GroupKeyStoreBase *groupKeyStore)
void
此方法用于设置针对具体平台的密钥库对象。

受保护的属性

GroupKeyStore

nl::Weave::Profiles::Security::AppKeys::GroupKeyStoreBase * GroupKeyStore

公共函数

ApplicationKeysTraitDataSink

 ApplicationKeysTraitDataSink(
  void
)

构造函数方法。

OnEvent

WEAVE_ERROR OnEvent(
  uint16_t aType,
  void *aInEventParam
) __OVERRIDE

系统会调用此方法来指示事件的发生。

具体说明
参数
[in] aType
事件类型。
[in] aInEventParam
事件参数。
返回值
WEAVE_NO_ERROR

SetGroupKeyStore

void SetGroupKeyStore(
  nl::Weave::Profiles::Security::AppKeys::GroupKeyStoreBase *groupKeyStore
)

此方法用于设置针对具体平台的密钥库对象。

具体说明
参数
[in] groupKeyStore
指向平台组密钥库对象的指针。如果不需要密钥库对象,它可以为 NULL。
返回值
None.