class WeaveKeyExport

Defined at line 298 of file 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 gen/third_party/openweave-core/src/include/Weave/Profiles/security/WeaveKeyExport.h

bool IsInitiator ()
uint8_t ProtocolConfig ()

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

uint32_t KeyId ()

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

uint8_t AllowedConfigs ()

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

void SetAllowedConfigs (uint8_t allowedConfigs)

Defined at line 461 of file 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 gen/third_party/openweave-core/src/include/Weave/Profiles/security/WeaveKeyExport.h

const WeaveMessageInfo * MessageInfo ()

Defined at line 466 of file 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 (unnamed)
Name Value Comments
kState_Reset 0

The initial (and final) state of a WeaveKeyExport object.

kState_InitiatorGeneratingRequest 10

Initiator state indicating that the key export request message is being generated.

kState_InitiatorRequestGenerated 11

Initiator state indicating that the key export request message has been generated.

kState_InitiatorReconfigureProcessed 12

Initiator state indicating that the key export reconfigure message was processed.

kState_InitiatorDone 13

Initiator state indicating that the key export response was processed.

kState_ResponderProcessingRequest 20

Responder state indicating that the key export request message is being processed.

kState_ResponderRequestProcessed 21

Responder state indicating that the key export request message has been processed.

kState_ResponderDone 22

Responder state indicating that the key export response message was generated.

The current state of the WeaveKeyExport object.

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