nl:: Menenun:: Profil:: Keamanan:: MENGAMBIL:: WeaveTAKEEngine
Ringkasan
Fungsi publik |
---|
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 |
Atribut publik
Id Penantang
uint8_t ChallengerId[kMaxChallengerIdSize]
PenantangIdLen
uint8_t ChallengerIdLen
PenantangNance
uint8_t ChallengerNonce[kNonceSize]
Konfigurasi Terpilih
uint8_t ChosenConfiguration
Tipe enkripsi
uint8_t EncryptionType
Konfigurasi Opsional
uint8_t OptionalConfigurations[kMaxOptionalConfigurations]
ProtokolConfig
uint8_t ProtocolConfig
SesiKeyId
uint16_t SessionKeyId
TokenNance
uint8_t TokenNonce[kNonceSize]
Fungsi publik
HasilkanAuthenticateTokenResponseMessage
WEAVE_ERROR GenerateAuthenticateTokenResponseMessage(
PacketBuffer *msgBuf
)
HasilkanIdentifyTokenMessage
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
)
HasilkanProtocolEncryptionKey
WEAVE_ERROR GenerateProtocolEncryptionKey(
void
)
HasilkanReAuthenticateTokenResponseMessage
WEAVE_ERROR GenerateReAuthenticateTokenResponseMessage(
PacketBuffer *msgBuf
)
DapatkanCurveLen
uint16_t GetCurveLen(
void
) const
DapatkanCurveOID
OID GetCurveOID(
void
) const
DapatkanECPointLen
uint16_t GetECPointLen(
void
) const
GetEncryptionType
uint8_t GetEncryptionType(
void
)
GetNumOptionalConfigurations
uint8_t GetNumOptionalConfigurations(
void
) const
DapatkanPrivKeyLen
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
)
ProsesReAuthenticateTokenResponseMessage
WEAVE_ERROR ProcessReAuthenticateTokenResponseMessage(
const PacketBuffer *msgBuf
)
Menutup
void Shutdown(
void
)
GunakanSessionKey
bool UseSessionKey(
void
) const