Google is committed to advancing racial equity for Black communities. See how.

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

Summary

Public attributes

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

Public functions

Clear(void)
void
Verify(uint64_t expectedDeviceId)

Public static functions

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

Public attributes

Certificate

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

Public functions

Clear

void Clear(
  void
)

Verify

WEAVE_ERROR Verify(
  uint64_t expectedDeviceId
)

Public static functions

Decode

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