class WeaveCASEEngine

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

Implements the core logic of the Weave CASE protocol.

Public Members

WeaveCASEAuthDelegate * AuthDelegate
uint8_t State
uint8_t EncryptionType
uint16_t SessionKeyId

Public Methods

void Init ()
void Shutdown ()
void Reset ()
void SetAlternateConfigs (BeginSessionRequestContext & reqCtx)
void SetAlternateCurves (BeginSessionRequestContext & reqCtx)
WEAVE_ERROR GenerateBeginSessionRequest (BeginSessionRequestContext & reqCtx, PacketBuffer * msgBuf)
WEAVE_ERROR ProcessBeginSessionRequest (PacketBuffer * msgBuf, BeginSessionRequestContext & reqCtx, ReconfigureContext & reconfCtx)
WEAVE_ERROR GenerateBeginSessionResponse (BeginSessionResponseContext & respCtx, PacketBuffer * msgBuf, BeginSessionRequestContext & reqCtx)
WEAVE_ERROR ProcessBeginSessionResponse (PacketBuffer * msgBuf, BeginSessionResponseContext & respCtx)
WEAVE_ERROR GenerateInitiatorKeyConfirm (PacketBuffer * msgBuf)
WEAVE_ERROR ProcessInitiatorKeyConfirm (PacketBuffer * msgBuf)
WEAVE_ERROR ProcessReconfigure (PacketBuffer * msgBuf, ReconfigureContext & reconfCtx)
WEAVE_ERROR GetSessionKey (const WeaveEncryptionKey *& encKey)
bool IsInitiator ()

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

uint32_t SelectedConfig ()
uint32_t SelectedCurve ()

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

bool PerformingKeyConfirm ()

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

uint8_t AllowedConfigs ()

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

void SetAllowedConfigs (uint8_t allowedConfigs)

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

bool IsAllowedConfig (uint32_t config)
uint8_t AllowedCurves ()

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

void SetAllowedCurves (uint8_t allowedCurves)

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

bool IsAllowedCurve (uint32_t curveId)

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

bool ResponderRequiresKeyConfirm ()

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

void SetResponderRequiresKeyConfirm (bool val)

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

uint8_t CertType ()

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

void SetCertType (uint8_t certType)

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

Enumerations

enum EngineState
Name Value
kState_Idle 0
kState_BeginRequestGenerated 1
kState_BeginResponseProcessed 2
kState_BeginRequestProcessed 3
kState_BeginResponseGenerated 4
kState_Complete 5
kState_Failed 6

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