nl::Weave::Profiles::Security::KeyExport

此命名空间包含 Weave 内用于 Weave 安全配置文件内密钥导出协议的所有接口。

摘要

枚举

@256 枚举
@257 枚举
@258 枚举
@259 枚举

函数

GenerateSHA256Hash(const uint8_t *msgStart, uint16_t msgLen, uint8_t *msgHash)
void
SimulateDeviceKeyExport(const uint8_t *deviceCert, uint16_t deviceCertLen, const uint8_t *devicePrivKey, uint16_t devicePrivKeyLen, const uint8_t *trustRootCert, uint16_t trustRootCertLen, const uint8_t *exportReq, uint16_t exportReqLen, uint8_t *exportRespBuf, uint16_t exportRespBufSize, uint16_t & exportRespLen, bool & respIsReconfig)

nl::Weave::Profiles::Security::KeyExport::WeaveKeyExport

实现 Weave 密钥导出协议的核心逻辑。

nl::Weave::Profiles::Security::KeyExport::WeaveKeyExportDelegate

KeyExport 引擎调用的抽象委托类,用于在密钥导出期间执行与身份验证相关的各种操作。

nl::Weave::Profiles::Security::KeyExport::WeaveStandAloneKeyExportClient

实现 Weave 密钥导出协议的客户端,以便在独立(非 Weave 消息传递)情境中使用。

nl::Weave::Profiles::Security::KeyExport::__FINAL

枚举

@256

 @256

@257

 @257

@258

 @258

@259

 @259

函数

GenerateSHA256Hash

void GenerateSHA256Hash(
  const uint8_t *msgStart,
  uint16_t msgLen,
  uint8_t *msgHash
)

SimulateDeviceKeyExport

WEAVE_ERROR SimulateDeviceKeyExport(
  const uint8_t *deviceCert,
  uint16_t deviceCertLen,
  const uint8_t *devicePrivKey,
  uint16_t devicePrivKeyLen,
  const uint8_t *trustRootCert,
  uint16_t trustRootCertLen,
  const uint8_t *exportReq,
  uint16_t exportReqLen,
  uint8_t *exportRespBuf,
  uint16_t exportRespBufSize,
  uint16_t & exportRespLen,
  bool & respIsReconfig
)