nl::Weave::Profiles::Security::WeaveProvisioningBundle

摘要

公共属性

Certificate
const uint8_t *
CertificateLen
uint16_t
PairingCode
const char *
PairingCodeLen
uint16_t
PrivateKey
const uint8_t *
PrivateKeyLen
uint16_t
WeaveDeviceId
uint64_t

公共函数

Clear(void)
void
Verify(uint64_t expectedDeviceId)

公共静态函数

Decode(uint8_t *provBundleBuf, uint32_t provBundleLen, const char *masterKey, uint32_t masterKeyLen, WeaveProvisioningBundle & provBundle)

公共属性

证书

const uint8_t * Certificate

CertificateLen

uint16_t CertificateLen

PairingCode

const char * PairingCode

PairingCodeLen

uint16_t PairingCodeLen

PrivateKey

const uint8_t * PrivateKey

PrivateKeyLen

uint16_t PrivateKeyLen

WeaveDeviceId

uint64_t WeaveDeviceId

公共函数

清除

void Clear(
  void
)

验证

WEAVE_ERROR Verify(
  uint64_t expectedDeviceId
)

公共静态函数

Decode

WEAVE_ERROR Decode(
  uint8_t *provBundleBuf,
  uint32_t provBundleLen,
  const char *masterKey,
  uint32_t masterKeyLen,
  WeaveProvisioningBundle & provBundle
)