透過集合功能整理內容 你可以依據偏好儲存及分類內容。

nl::Weave::Profiles::安全性::KeyExport::WeaveStandAloneKeyExportClient

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

實作 Weave 金鑰匯出通訊協定的用戶端,以便用於獨立 (非 Weveve 訊息) 內容。

總結

繼承

繼承來源: nl::Weave::Profiles::Security::KeyExport::WeaveKeyExportDelegate

公開函式

AllowNestDevelopmentDevices() const
bool
AllowNestDevelopmentDevices(bool val)
void
AllowSHA1DeviceCerts() const
bool
AllowSHA1DeviceCerts(bool val)
void
GenerateKeyExportRequest(uint32_t keyId, uint64_t responderNodeId, const uint8_t *clientCert, uint16_t clientCertLen, const uint8_t *clientKey, uint16_t clientKeyLen, uint8_t *reqBuf, uint16_t reqBufSize, uint16_t & reqLen)
GenerateKeyExportRequest(uint32_t keyId, uint64_t responderNodeId, const uint8_t *accessToken, uint16_t accessTokenLen, uint8_t *reqBuf, uint16_t reqBufSize, uint16_t & reqLen)
Init(void)
void
ProcessKeyExportReconfigure(const uint8_t *reconfBuf, uint16_t reconfLen)
ProcessKeyExportResponse(const uint8_t *respBuf, uint16_t respLen, uint64_t responderNodeId, uint8_t *exportedKeyBuf, uint16_t exportedKeyBufSize, uint16_t & exportedKeyLen, uint32_t & exportedKeyId)
ProposedConfig() const
uint8_t
ProposedConfig(uint8_t val)
void
Reset(void)
void

公開函式

允許 Nest 開發裝置

bool AllowNestDevelopmentDevices() const 

允許 Nest 開發裝置

void AllowNestDevelopmentDevices(
  bool val
)

允許 SHA1DeviceCerts

bool AllowSHA1DeviceCerts() const 

允許 SHA1DeviceCerts

void AllowSHA1DeviceCerts(
  bool val
)

產生金鑰匯出要求

WEAVE_ERROR GenerateKeyExportRequest(
  uint32_t keyId,
  uint64_t responderNodeId,
  const uint8_t *clientCert,
  uint16_t clientCertLen,
  const uint8_t *clientKey,
  uint16_t clientKeyLen,
  uint8_t *reqBuf,
  uint16_t reqBufSize,
  uint16_t & reqLen
)

產生金鑰匯出要求

WEAVE_ERROR GenerateKeyExportRequest(
  uint32_t keyId,
  uint64_t responderNodeId,
  const uint8_t *accessToken,
  uint16_t accessTokenLen,
  uint8_t *reqBuf,
  uint16_t reqBufSize,
  uint16_t & reqLen
)

Init

void Init(
  void
)

處理金鑰匯出重新設定

WEAVE_ERROR ProcessKeyExportReconfigure(
  const uint8_t *reconfBuf,
  uint16_t reconfLen
)

處理程序金鑰匯出回應

WEAVE_ERROR ProcessKeyExportResponse(
  const uint8_t *respBuf,
  uint16_t respLen,
  uint64_t responderNodeId,
  uint8_t *exportedKeyBuf,
  uint16_t exportedKeyBufSize,
  uint16_t & exportedKeyLen,
  uint32_t & exportedKeyId
)

提案設定

uint8_t ProposedConfig() const 

提案設定

void ProposedConfig(
  uint8_t val
)

重設

void Reset(
  void
)