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

Résumé

Attributs publics

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

Fonctions publiques

Clear(void)
void
Verify(uint64_t expectedDeviceId)

Fonctions statiques publiques

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

Attributs publics

Certificat

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

Fonctions publiques

Effacer

void Clear(
  void
)

Valider

WEAVE_ERROR Verify(
  uint64_t expectedDeviceId
)

Fonctions statiques publiques

Decode

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