class WeaveKeyExport

Defined at line 298 of file x64-shared/gen/third_party/openweave-core/src/include/Weave/Profiles/security/WeaveKeyExport.h

Implements the core logic of the Weave key export protocol.

Public Members

WeaveKeyExportDelegate * KeyExportDelegate
GroupKeyStoreBase * GroupKeyStore

Public Methods

void Init (WeaveKeyExportDelegate * keyExportDelegate, GroupKeyStoreBase * groupKeyStore)
void Reset ()
void Shutdown ()
uint8_t State ()

Defined at line 441 of file x64-shared/gen/third_party/openweave-core/src/include/Weave/Profiles/security/WeaveKeyExport.h

bool IsInitiator ()
uint8_t ProtocolConfig ()

Defined at line 446 of file x64-shared/gen/third_party/openweave-core/src/include/Weave/Profiles/security/WeaveKeyExport.h

uint32_t KeyId ()

Defined at line 451 of file x64-shared/gen/third_party/openweave-core/src/include/Weave/Profiles/security/WeaveKeyExport.h

uint8_t AllowedConfigs ()

Defined at line 456 of file x64-shared/gen/third_party/openweave-core/src/include/Weave/Profiles/security/WeaveKeyExport.h

void SetAllowedConfigs (uint8_t allowedConfigs)

Defined at line 461 of file x64-shared/gen/third_party/openweave-core/src/include/Weave/Profiles/security/WeaveKeyExport.h

bool IsAllowedConfig (uint8_t config)
bool SignMessages ()

Defined at line 471 of file x64-shared/gen/third_party/openweave-core/src/include/Weave/Profiles/security/WeaveKeyExport.h

const WeaveMessageInfo * MessageInfo ()

Defined at line 466 of file x64-shared/gen/third_party/openweave-core/src/include/Weave/Profiles/security/WeaveKeyExport.h

WEAVE_ERROR GenerateKeyExportRequest (uint8_t * buf, uint16_t bufSize, uint16_t & msgLen, uint8_t proposedConfig, uint32_t keyId, bool signMessages)
WEAVE_ERROR ProcessKeyExportRequest (const uint8_t * buf, uint16_t msgSize, const WeaveMessageInfo * msgInfo)
WEAVE_ERROR GenerateKeyExportResponse (uint8_t * buf, uint16_t bufSize, uint16_t & msgLen, const WeaveMessageInfo * msgInfo)
WEAVE_ERROR ProcessKeyExportResponse (const uint8_t * buf, uint16_t msgSize, const WeaveMessageInfo * msgInfo, uint8_t * exportedKeyBuf, uint16_t exportedKeyBufSize, uint16_t & exportedKeyLen, uint32_t & exportedKeyId)
WEAVE_ERROR GenerateKeyExportReconfigure (uint8_t * buf, uint16_t bufSize, uint16_t & msgLen)
WEAVE_ERROR ProcessKeyExportReconfigure (const uint8_t * buf, uint16_t msgSize, uint8_t & config)

Enumerations

enum 
Name Value
kState_Reset 0
kState_InitiatorGeneratingRequest 10
kState_InitiatorRequestGenerated 11
kState_InitiatorReconfigureProcessed 12
kState_InitiatorDone 13
kState_ResponderProcessingRequest 20
kState_ResponderRequestProcessed 21
kState_ResponderDone 22

The current state of the WeaveKeyExport object.

Defined at line 304 of file x64-shared/gen/third_party/openweave-core/src/include/Weave/Profiles/security/WeaveKeyExport.h