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

This namespace includes all interfaces within Weave for the key export protocol within the Weave security profile.

Summary

Enumerations

@234 enum
@235 enum
@236 enum
@237 enum

Functions

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)

Classes

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

Implements the core logic of the Weave key export protocol.

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

Abstract delegate class called by KeyExport engine to perform various actions related to authentication during key export.

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

Implements the client side of the Weave key export protocol for use in stand-alone (non-Weave messaging) contexts.

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

Enumerations

@234

 @234

@235

 @235

@236

 @236

@237

 @237

Functions

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
)