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

Ringkasan

Atribut publik

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

Fungsi publik

Clear(void)
void
Verify(uint64_t expectedDeviceId)

Fungsi statis publik

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

Atribut publik

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

Fungsi publik

Hapus

void Clear(
  void
)

Verifikasi

WEAVE_ERROR Verify(
  uint64_t expectedDeviceId
)

Fungsi statis publik

Decode

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