nl::Weave::Profiles::安全性::PASE::WeavePASEEngine

總結

公開類型

EngineState 列舉

公開屬性

AllowedPASEConfigs
uint8_t
EncryptionKey
EncryptionType
uint8_t
JPAKECtx
struct JPAKE_CTX *
PerformKeyConfirmation
bool
ProtocolConfig
uint32_t
Pw
const uint8_t *
PwLen
uint16_t
PwSource
uint8_t
ResponderKeyConfirmHash[kKeyConfirmHashLengthMax]
uint8_t
ResponderStep2ZKPXGRHash[kStep2ZKPXGRHashLengthMax]
uint8_t
SessionKeyId
uint16_t
State
EngineState

公開函式

GenerateInitiatorStep1(PacketBuffer *buf, uint32_t proposedPASEConfig, uint64_t localNodeId, uint64_t peerNodeId, uint16_t sessionKeyId, uint8_t encType, uint8_t pwSrc, WeaveFabricState *FabricState, bool confirmKey)
GenerateInitiatorStep2(PacketBuffer *buf)
GenerateResponderKeyConfirm(PacketBuffer *buf)
GenerateResponderReconfigure(PacketBuffer *buf)
GenerateResponderStep1(PacketBuffer *buf)
GenerateResponderStep2(PacketBuffer *buf)
GetSessionKey(const WeaveEncryptionKey *& encKey)
Init(void)
void
IsInitiator(void) const
bool
IsResponder(void) const
bool
ProcessInitiatorStep1(PacketBuffer *buf, uint64_t localNodeId, uint64_t peerNodeId, WeaveFabricState *FabricState)
ProcessInitiatorStep2(PacketBuffer *buf)
ProcessResponderKeyConfirm(PacketBuffer *buf)
ProcessResponderReconfigure(PacketBuffer *buf, uint32_t & proposedPASEConfig)
ProcessResponderStep1(PacketBuffer *buf)
ProcessResponderStep2(PacketBuffer *buf)
Reset(void)
void
Shutdown(void)
void

公開類型

引擎狀態

 EngineState

公開屬性

允許的 PASEConfig

uint8_t AllowedPASEConfigs

EncryptionKey

WeaveEncryptionKey EncryptionKey

EncryptionType

uint8_t EncryptionType

JPAKECX

struct JPAKE_CTX * JPAKECtx

執行金鑰確認

bool PerformKeyConfirmation

通訊協定設定

uint32_t ProtocolConfig

平均

const uint8_t * Pw

普萊蘭

uint16_t PwLen

PwSource

uint8_t PwSource

ResponseerKeyConfirmHash

uint8_t ResponderKeyConfirmHash[kKeyConfirmHashLengthMax]

ResponseerStep2ZKPXGRHash

uint8_t ResponderStep2ZKPXGRHash[kStep2ZKPXGRHashLengthMax]

工作階段金鑰 ID

uint16_t SessionKeyId

狀態

EngineState State

公開函式

產生啟動器步驟 1

WEAVE_ERROR GenerateInitiatorStep1(
  PacketBuffer *buf,
  uint32_t proposedPASEConfig,
  uint64_t localNodeId,
  uint64_t peerNodeId,
  uint16_t sessionKeyId,
  uint8_t encType,
  uint8_t pwSrc,
  WeaveFabricState *FabricState,
  bool confirmKey
)

產生啟動器步驟 2

WEAVE_ERROR GenerateInitiatorStep2(
  PacketBuffer *buf
)

產生回應者確認

WEAVE_ERROR GenerateResponderKeyConfirm(
  PacketBuffer *buf
)

產生回應者重新設定

WEAVE_ERROR GenerateResponderReconfigure(
  PacketBuffer *buf
)

產生回應步驟 1

WEAVE_ERROR GenerateResponderStep1(
  PacketBuffer *buf
)

產生回應步驟 2

WEAVE_ERROR GenerateResponderStep2(
  PacketBuffer *buf
)

取得工作階段金鑰

WEAVE_ERROR GetSessionKey(
  const WeaveEncryptionKey *& encKey
)

Init

void Init(
  void
)

發起者

bool IsInitiator(
  void
) const 

為因應者

bool IsResponder(
  void
) const 

處理者步驟 1

WEAVE_ERROR ProcessInitiatorStep1(
  PacketBuffer *buf,
  uint64_t localNodeId,
  uint64_t peerNodeId,
  WeaveFabricState *FabricState
)

處理者步驟 2

WEAVE_ERROR ProcessInitiatorStep2(
  PacketBuffer *buf
)

處理回應金鑰確認

WEAVE_ERROR ProcessResponderKeyConfirm(
  PacketBuffer *buf
)

處理回應者重新設定

WEAVE_ERROR ProcessResponderReconfigure(
  PacketBuffer *buf,
  uint32_t & proposedPASEConfig
)

處理程序回應步驟 1

WEAVE_ERROR ProcessResponderStep1(
  PacketBuffer *buf
)

處理程序回應步驟 2

WEAVE_ERROR ProcessResponderStep2(
  PacketBuffer *buf
)

重設

void Reset(
  void
)

停用

void Shutdown(
  void
)