透過集合功能整理內容
你可以依據偏好儲存及分類內容。
nl::Weave::Profiles::Security::TAKE::WeaveTAKEEngine
摘要
公用函式
|
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(const WeaveEncryptionKey *& 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
|
公開屬性
ChallengerAuthDelegate
WeaveTAKEChallengerAuthDelegate * ChallengerAuthDelegate
ChallengerId
uint8_t ChallengerId[kMaxChallengerIdSize]
ChallengerIdLen
uint8_t ChallengerIdLen
ChallengerNonce
uint8_t ChallengerNonce[kNonceSize]
ChosenConfiguration
uint8_t ChosenConfiguration
uint8_t ControlHeader
EncryptionType
uint8_t EncryptionType
OptionalConfigurations
uint8_t OptionalConfigurations[kMaxOptionalConfigurations]
ProtocolConfig
uint8_t ProtocolConfig
SessionKeyId
uint16_t SessionKeyId
TokenAuthDelegate
WeaveTAKETokenAuthDelegate * TokenAuthDelegate
TokenNonce
uint8_t TokenNonce[kNonceSize]
公用函式
GenerateAuthenticateTokenMessage
WEAVE_ERROR GenerateAuthenticateTokenMessage(
PacketBuffer *msgBuf
)
GenerateAuthenticateTokenResponseMessage
WEAVE_ERROR GenerateAuthenticateTokenResponseMessage(
PacketBuffer *msgBuf
)
GenerateIdentifyTokenMessage
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
)
GenerateIdentifyTokenResponseMessage
WEAVE_ERROR GenerateIdentifyTokenResponseMessage(
PacketBuffer *msgBuf
)
GenerateProtocolEncryptionKey
WEAVE_ERROR GenerateProtocolEncryptionKey(
void
)
GenerateReAuthenticateTokenMessage
WEAVE_ERROR GenerateReAuthenticateTokenMessage(
PacketBuffer *msgBuf
)
GenerateReAuthenticateTokenResponseMessage
WEAVE_ERROR GenerateReAuthenticateTokenResponseMessage(
PacketBuffer *msgBuf
)
WEAVE_ERROR GenerateTokenReconfigureMessage(
PacketBuffer *msgBuf
)
GetCurveLen
uint16_t GetCurveLen(
void
) const
GetCurveOID
OID GetCurveOID(
void
) const
GetECPointLen
uint16_t GetECPointLen(
void
) const
GetEncryptionType
uint8_t GetEncryptionType(
void
)
GetNumOptionalConfigurations
uint8_t GetNumOptionalConfigurations(
void
) const
GetPrivKeyLen
uint16_t GetPrivKeyLen(
void
) const
GetSessionKey
WEAVE_ERROR GetSessionKey(
const WeaveEncryptionKey *& encKey
) const
HasSentChallengerId
bool HasSentChallengerId(
void
) const
Init
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
)
WEAVE_ERROR ProcessTokenReconfigureMessage(
uint8_t & config,
const PacketBuffer *msgBuf
)
關機
void Shutdown(
void
)
UseSessionKey
bool UseSessionKey(
void
) const
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。Thread 是 Thread Group, Inc. 的註冊商標。
上次更新時間:2023-12-02 (世界標準時間)。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"缺少我需要的資訊"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"過於複雜/步驟過多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"過時"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻譯問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/程式碼問題"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"容易理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"確實解決了我的問題"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]