nl:: বুনা:: প্রোফাইল:: নিরাপত্তা:: নিন:: ওয়েভটেক ইঞ্জিন
সারাংশ
পাবলিক ফাংশন |
---|
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 |
পাবলিক বৈশিষ্ট্য
চ্যালেঞ্জারআইডি
uint8_t ChallengerId[kMaxChallengerIdSize]
চ্যালেঞ্জারআইডিলেন
uint8_t ChallengerIdLen
চ্যালেঞ্জার ননস
uint8_t ChallengerNonce[kNonceSize]
কনফিগারেশন বেছে নিন
uint8_t ChosenConfiguration
এনক্রিপশন টাইপ
uint8_t EncryptionType
ঐচ্ছিক কনফিগারেশন
uint8_t OptionalConfigurations[kMaxOptionalConfigurations]
প্রোটোকল কনফিগারেশন
uint8_t ProtocolConfig
SessionKeyId
uint16_t SessionKeyId
TokenNonce
uint8_t TokenNonce[kNonceSize]
পাবলিক ফাংশন
প্রমাণীকরণ টোকেন রেসপন্স মেসেজ তৈরি করুন
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
)
প্রোটোকল এনক্রিপশন কী তৈরি করুন
WEAVE_ERROR GenerateProtocolEncryptionKey(
void
)
ReAuthenticateTokenResponseMessage জেনারেট করুন
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
)
GetNumOptional Configurations
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
)
শাটডাউন
void Shutdown(
void
)
সেশনকি ব্যবহার করুন
bool UseSessionKey(
void
) const