nl:: बुना::प्रोफ़ाइल::सुरक्षा::PASE::WeavePASEEngine

खास जानकारी

सार्वजनिक प्रकार

EngineState enum

सार्वजनिक विशेषताएं

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

सार्वजनिक विशेषताएं

AllowPASEConfigs

uint8_t AllowedPASEConfigs

एन्क्रिप्शन कुंजी

WeaveEncryptionKey EncryptionKey

एन्क्रिप्शन किस तरह का है

uint8_t EncryptionType

JPAKECtx

struct JPAKE_CTX * JPAKECtx

परफ़ॉर्मेंस की पुष्टि

bool PerformKeyConfirmation

प्रोटोकॉल कॉन्फ़िगरेशन

uint32_t ProtocolConfig

प्यु

const uint8_t * Pw

PwLen

uint16_t PwLen

Pwस्रोत

uint8_t PwSource

जवाब देने वाला बटन

uint8_t ResponderKeyConfirmHash[kKeyConfirmHashLengthMax]

जवाब देने वाला चरण2ZKPXGRHash

uint8_t ResponderStep2ZKPXGRHash[kStep2ZKPXGRHashLengthMax]

सेशन की आईडी

uint16_t SessionKeyId

राज्य

EngineState State

सार्वजनिक फ़ंक्शन

GenerateInitiatorStep1

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
)

GenerateInitiatorStep2

WEAVE_ERROR GenerateInitiatorStep2(
  PacketBuffer *buf
)

रिस्पॉन्सिव रिस्पॉन्स की पुष्टि करें

WEAVE_ERROR GenerateResponderKeyConfirm(
  PacketBuffer *buf
)

GenerateResponseer कॉन्फ़िगर करें

WEAVE_ERROR GenerateResponderReconfigure(
  PacketBuffer *buf
)

रिस्पॉन्सिव रिस्पॉन्स1 जनरेट करें

WEAVE_ERROR GenerateResponderStep1(
  PacketBuffer *buf
)

{0}जवाब दें{/1}

WEAVE_ERROR GenerateResponderStep2(
  PacketBuffer *buf
)

GetSessionKey

WEAVE_ERROR GetSessionKey(
  const WeaveEncryptionKey *& encKey
)

इनिट

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
)

ProcessResponseerKey की पुष्टि करें

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
)