нл:: Переплетение:: Профили:: Безопасность:: БРАТЬ:: WeaveTAKEДвигатель

Краткое содержание

Публичные атрибуты

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 (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

Ид претендента

uint8_t ChallengerId[kMaxChallengerIdSize]

ЧелленджерИдЛен

uint8_t ChallengerIdLen

ЧелленджерNonce

uint8_t ChallengerNonce[kNonceSize]

Выбранная конфигурация

uint8_t ChosenConfiguration

Контрольхедер

uint8_t ControlHeader

тип шифрования

uint8_t EncryptionType

Дополнительные конфигурации

uint8_t OptionalConfigurations[kMaxOptionalConfigurations]

ПротоколКонфигурация

uint8_t ProtocolConfig

СеансКейИд

uint16_t SessionKeyId

TokenAuthDelegate

WeaveTAKETokenAuthDelegate * TokenAuthDelegate

ТокенNonce

uint8_t TokenNonce[kNonceSize]

Общественные функции

ГенерироватьAuthenticateTokenMessage

WEAVE_ERROR GenerateAuthenticateTokenMessage(
  PacketBuffer *msgBuf
)

GenerateAuthenticateTokenResponseMessage

WEAVE_ERROR GenerateAuthenticateTokenResponseMessage(
  PacketBuffer *msgBuf
)

Генератеидентифитокенмессаже

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
)

Генерироватьпротоколэнкриптионключ

WEAVE_ERROR GenerateProtocolEncryptionKey(
  void
)

ГенерироватьReAuthenticateTokenMessage

WEAVE_ERROR GenerateReAuthenticateTokenMessage(
  PacketBuffer *msgBuf
)

ГенерироватьReAuthenticateTokenResponseMessage

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 

Инициализировать

void Init(
  void
)

IsEncryptAuthPhase

bool IsEncryptAuthPhase(
  void
) const 

Исенкрипткоммфазе

bool IsEncryptCommPhase(
  void
) const 

IsTimeLimitedIK

bool IsTimeLimitedIK(
  void
) const 

Процессаусентикатетокенмессаже

WEAVE_ERROR ProcessAuthenticateTokenMessage(
  const PacketBuffer *msgBuf
)

ProcessAuthenticateTokenResponseMessage

WEAVE_ERROR ProcessAuthenticateTokenResponseMessage(
  const PacketBuffer *msgBuf
)

Процессидентифитокенмессаже

WEAVE_ERROR ProcessIdentifyTokenMessage(
  uint64_t peerNodeId,
  const PacketBuffer *msgBuf
)

Процессидентифифитетокенреспонсемессаже

WEAVE_ERROR ProcessIdentifyTokenResponseMessage(
  const PacketBuffer *buf
)

ПроцессРеАусентикатеТокенмессаже

WEAVE_ERROR ProcessReAuthenticateTokenMessage(
  const PacketBuffer *msgBuf
)

ПроцессРеАусентикатеТокенResponseMessage

WEAVE_ERROR ProcessReAuthenticateTokenResponseMessage(
  const PacketBuffer *msgBuf
)

Процесстокенреконфигуремессаже

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

Неисправность

void Shutdown(
  void
)

Усесессионкей

bool UseSessionKey(
  void
) const