Send feedback
Stay organized with collections
Save and categorize content based on your preferences.
nl:: Weave:: Profiles:: Security:: TAKE:: WeaveTAKEEngine
Summary
Public functions
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
Public attributes
ChallengerId
uint8_t ChallengerId [ kMaxChallengerIdSize ]
ChallengerIdLen
uint8_t ChallengerIdLen
ChallengerNonce
uint8_t ChallengerNonce [ kNonceSize ]
ChosenConfiguration
uint8_t ChosenConfiguration
EncryptionType
uint8_t EncryptionType
OptionalConfigurations
uint8_t OptionalConfigurations [ kMaxOptionalConfigurations ]
ProtocolConfig
uint8_t ProtocolConfig
SessionKeyId
uint16_t SessionKeyId
TokenNonce
uint8_t TokenNonce [ kNonceSize ]
Public functions
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
)
GenerateProtocolEncryptionKey
WEAVE_ERROR GenerateProtocolEncryptionKey(
void
)
GenerateReAuthenticateTokenResponseMessage
WEAVE_ERROR GenerateReAuthenticateTokenResponseMessage(
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
HasSentChallengerId
bool HasSentChallengerId (
void
) const
IsEncryptAuthPhase
bool IsEncryptAuthPhase (
void
) const
IsEncryptCommPhase
bool IsEncryptCommPhase (
void
) const
IsTimeLimitedIK
bool IsTimeLimitedIK (
void
) const
ProcessAuthenticateTokenResponseMessage
WEAVE_ERROR ProcessAuthenticateTokenResponseMessage (
const PacketBuffer * msgBuf
)
ProcessIdentifyTokenMessage
WEAVE_ERROR ProcessIdentifyTokenMessage (
uint64_t peerNodeId ,
const PacketBuffer * msgBuf
)
ProcessReAuthenticateTokenResponseMessage
WEAVE_ERROR ProcessReAuthenticateTokenResponseMessage (
const PacketBuffer * msgBuf
)
Shutdown
void Shutdown(
void
)
UseSessionKey
bool UseSessionKey (
void
) const
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates. The OPENTHREAD and related marks are trademarks of the Thread Group and are used under license.
Last updated 2018-06-05 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2018-06-05 UTC."],[],[]]