нл:: Переплетение:: Профили:: Безопасность:: КлючЭкспорт:: WeaveStandAloneKeyExportClient

#include <src/lib/profiles/security/WeaveKeyExportClient.h>

Реализует клиентскую часть протокола экспорта ключей Weave для использования в автономных контекстах (без обмена сообщениями Weave).

Краткое содержание

Наследование

Наследуется от: nl::Weave::Profiles::Security::KeyExport::WeaveKeyExportDelegate

Общественные функции

AllowNestDevelopmentDevices () const
bool
AllowNestDevelopmentDevices (bool val)
void
AllowSHA1DeviceCerts () const
bool
AllowSHA1DeviceCerts (bool val)
void
GenerateKeyExportRequest (uint32_t keyId, uint64_t responderNodeId, const uint8_t *clientCert, uint16_t clientCertLen, const uint8_t *clientKey, uint16_t clientKeyLen, uint8_t *reqBuf, uint16_t reqBufSize, uint16_t & reqLen)
GenerateKeyExportRequest (uint32_t keyId, uint64_t responderNodeId, const uint8_t *accessToken, uint16_t accessTokenLen, uint8_t *reqBuf, uint16_t reqBufSize, uint16_t & reqLen)
Init (void)
void
ProcessKeyExportReconfigure (const uint8_t *reconfBuf, uint16_t reconfLen)
ProcessKeyExportResponse (const uint8_t *respBuf, uint16_t respLen, uint64_t responderNodeId, uint8_t *exportedKeyBuf, uint16_t exportedKeyBufSize, uint16_t & exportedKeyLen, uint32_t & exportedKeyId)
ProposedConfig () const
uint8_t
ProposedConfig (uint8_t val)
void
Reset (void)
void

Общественные функции

Алловнестдевелопментдевицес

bool AllowNestDevelopmentDevices() const 

Алловнестдевелопментдевицес

void AllowNestDevelopmentDevices(
  bool val
)

АлловSHA1DeviceCerts

bool AllowSHA1DeviceCerts() const 

АлловSHA1DeviceCerts

void AllowSHA1DeviceCerts(
  bool val
)

GenerateKeyExportRequest

WEAVE_ERROR GenerateKeyExportRequest(
  uint32_t keyId,
  uint64_t responderNodeId,
  const uint8_t *clientCert,
  uint16_t clientCertLen,
  const uint8_t *clientKey,
  uint16_t clientKeyLen,
  uint8_t *reqBuf,
  uint16_t reqBufSize,
  uint16_t & reqLen
)

GenerateKeyExportRequest

WEAVE_ERROR GenerateKeyExportRequest(
  uint32_t keyId,
  uint64_t responderNodeId,
  const uint8_t *accessToken,
  uint16_t accessTokenLen,
  uint8_t *reqBuf,
  uint16_t reqBufSize,
  uint16_t & reqLen
)

В этом

void Init(
  void
)

ПроцессКейЭкспортРеконфигуре

WEAVE_ERROR ProcessKeyExportReconfigure(
  const uint8_t *reconfBuf,
  uint16_t reconfLen
)

ПроцессКейЭкспортОтклик

WEAVE_ERROR ProcessKeyExportResponse(
  const uint8_t *respBuf,
  uint16_t respLen,
  uint64_t responderNodeId,
  uint8_t *exportedKeyBuf,
  uint16_t exportedKeyBufSize,
  uint16_t & exportedKeyLen,
  uint32_t & exportedKeyId
)

Предлагаемая конфигурация

uint8_t ProposedConfig() const 

Предлагаемая конфигурация

void ProposedConfig(
  uint8_t val
)

Перезагрузить

void Reset(
  void
)