透過集合功能整理內容 你可以依據偏好儲存及分類內容。

NL::編織::簡介::安全::拿::織帶引擎

概括

公共屬性

ChallengerAuthDelegate
ChallengerId [kMaxChallengerIdSize]
uint8_t
ChallengerIdLen
uint8_t
ChallengerNonce [kNonceSize]
uint8_t
ChosenConfiguration
uint8_t
ControlHeader
uint8_t
EncryptionType
uint8_t
OptionalConfigurations [kMaxOptionalConfigurations]
uint8_t
ProtocolConfig
uint8_t
SessionKeyId
uint16_t
TokenAuthDelegate
TokenNonce [kNonceSize]
uint8_t

公共職能

GenerateAuthenticateTokenMessage ( PacketBuffer *msgBuf)
GenerateAuthenticateTokenResponseMessage ( PacketBuffer *msgBuf)
GenerateIdentifyTokenMessage (uint16_t sessionKeyId, uint8_t takeConfig, bool encryptAuthPhase, bool encryptCommPhase, bool timeLimitedIK, bool sendChallengerId, uint8_t encryptionType, uint64_t localNodeId, PacketBuffer *msgBuf)
GenerateIdentifyTokenResponseMessage ( PacketBuffer *msgBuf)
GenerateProtocolEncryptionKey (void)
GenerateReAuthenticateTokenMessage ( PacketBuffer *msgBuf)
GenerateReAuthenticateTokenResponseMessage ( PacketBuffer *msgBuf)
GenerateTokenReconfigureMessage ( PacketBuffer *msgBuf)
GetCurveLen (void) const
uint16_t
GetCurveOID (void) const
OID
GetECPointLen (void) const
uint16_t
GetEncryptionType (void)
uint8_t
GetNumOptionalConfigurations (void) const
uint8_t
GetPrivKeyLen (void) const
uint16_t
GetSessionKey (constWeaveEncryptionKey *& encKey) const
HasSentChallengerId (void) const
bool
Init (void)
void
IsEncryptAuthPhase (void) const
bool
IsEncryptCommPhase (void) const
bool
IsTimeLimitedIK (void) const
bool
ProcessAuthenticateTokenMessage (const PacketBuffer *msgBuf)
ProcessAuthenticateTokenResponseMessage (const PacketBuffer *msgBuf)
ProcessIdentifyTokenMessage (uint64_t peerNodeId, const PacketBuffer *msgBuf)
ProcessIdentifyTokenResponseMessage (const PacketBuffer *buf)
ProcessReAuthenticateTokenMessage (const PacketBuffer *msgBuf)
ProcessReAuthenticateTokenResponseMessage (const PacketBuffer *msgBuf)
ProcessTokenReconfigureMessage (uint8_t & config, const PacketBuffer *msgBuf)
Shutdown (void)
void
UseSessionKey (void) const
bool

公共屬性

挑戰者授權委託

WeaveTAKEChallengerAuthDelegate * ChallengerAuthDelegate

挑戰者編號

uint8_t ChallengerId[kMaxChallengerIdSize]

挑戰者身份

uint8_t ChallengerIdLen

挑戰者隨機數

uint8_t ChallengerNonce[kNonceSize]

選擇的配置

uint8_t ChosenConfiguration

控制頭

uint8_t ControlHeader

加密類型

uint8_t EncryptionType

可選配置

uint8_t OptionalConfigurations[kMaxOptionalConfigurations]

協議配置

uint8_t ProtocolConfig

會話密鑰 ID

uint16_t SessionKeyId

TokenAuthDelegate

WeaveTAKETokenAuthDelegate * TokenAuthDelegate

代幣隨機數

uint8_t TokenNonce[kNonceSize]

公共職能

生成AuthenticateTokenMessage

WEAVE_ERROR GenerateAuthenticateTokenMessage(
  PacketBuffer *msgBuf
)

生成AuthenticateTokenResponseMessage

WEAVE_ERROR GenerateAuthenticateTokenResponseMessage(
  PacketBuffer *msgBuf
)

生成IdentifyTokenMessage

WEAVE_ERROR GenerateIdentifyTokenMessage(
  uint16_t sessionKeyId,
  uint8_t takeConfig,
  bool encryptAuthPhase,
  bool encryptCommPhase,
  bool timeLimitedIK,
  bool sendChallengerId,
  uint8_t encryptionType,
  uint64_t localNodeId,
  PacketBuffer *msgBuf
)

生成IdentifyTokenResponseMessage

WEAVE_ERROR GenerateIdentifyTokenResponseMessage(
  PacketBuffer *msgBuf
)

生成協議加密密鑰

WEAVE_ERROR GenerateProtocolEncryptionKey(
  void
)

生成重新驗證令牌消息

WEAVE_ERROR GenerateReAuthenticateTokenMessage(
  PacketBuffer *msgBuf
)

生成重新驗證令牌響應消息

WEAVE_ERROR GenerateReAuthenticateTokenResponseMessage(
  PacketBuffer *msgBuf
)

生成令牌重新配置消息

WEAVE_ERROR GenerateTokenReconfigureMessage(
  PacketBuffer *msgBuf
)

獲取曲線長度

uint16_t GetCurveLen(
  void
) const 

獲取曲線OID

OID GetCurveOID(
  void
) const 

獲取ECPointLen

uint16_t GetECPointLen(
  void
) const 

獲取加密類型

uint8_t GetEncryptionType(
  void
)

GetNumOptionalConfigurations

uint8_t GetNumOptionalConfigurations(
  void
) const 

獲取密鑰長度

uint16_t GetPrivKeyLen(
  void
) const 

獲取會話密鑰

WEAVE_ERROR GetSessionKey(
  const WeaveEncryptionKey *& encKey
) const 

已發送挑戰者 ID

bool HasSentChallengerId(
  void
) const 

在裡面

void Init(
  void
)

IsEncryptAuthPhase

bool IsEncryptAuthPhase(
  void
) const 

IsEncryptCommPhase

bool IsEncryptCommPhase(
  void
) const 

IsTimeLimitedIK

bool IsTimeLimitedIK(
  void
) const 

ProcessAuthenticateTokenMessage

WEAVE_ERROR ProcessAuthenticateTokenMessage(
  const PacketBuffer *msgBuf
)

ProcessAuthenticateTokenResponseMessage

WEAVE_ERROR ProcessAuthenticateTokenResponseMessage(
  const PacketBuffer *msgBuf
)

ProcessIdentifyTokenMessage

WEAVE_ERROR ProcessIdentifyTokenMessage(
  uint64_t peerNodeId,
  const PacketBuffer *msgBuf
)

ProcessIdentifyTokenResponseMessage

WEAVE_ERROR ProcessIdentifyTokenResponseMessage(
  const PacketBuffer *buf
)

ProcessReAuthenticateTokenMessage

WEAVE_ERROR ProcessReAuthenticateTokenMessage(
  const PacketBuffer *msgBuf
)

ProcessReAuthenticateTokenResponseMessage

WEAVE_ERROR ProcessReAuthenticateTokenResponseMessage(
  const PacketBuffer *msgBuf
)

ProcessTokenReconfigureMessage

WEAVE_ERROR ProcessTokenReconfigureMessage(
  uint8_t & config,
  const PacketBuffer *msgBuf
)

關掉

void Shutdown(
  void
)

使用會話密鑰

bool UseSessionKey(
  void
) const