nl :: نسج:: مظهر:: حماية:: يأخذ:: محرك النسج
ملخص
السمات العامة | |
---|---|
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 |
السمات العامة
تشالنجرأوث مندوب
WeaveTAKEChallengerAuthDelegate * ChallengerAuthDelegate
تشالنجر
uint8_t ChallengerId[kMaxChallengerIdSize]
تشالنجر إيدلين
uint8_t ChallengerIdLen
تشالنجر
uint8_t ChallengerNonce[kNonceSize]
التكوين المختار
uint8_t ChosenConfiguration
رأس التحكم
uint8_t ControlHeader
نوع التشفير
uint8_t EncryptionType
التكوينات الاختيارية
uint8_t OptionalConfigurations[kMaxOptionalConfigurations]
ProtocolConfig
uint8_t ProtocolConfig
SessionKeyId
uint16_t SessionKeyId
TokenAuthDelegate
WeaveTAKETokenAuthDelegate * TokenAuthDelegate
رمز
uint8_t TokenNonce[kNonceSize]
الوظائف العامة
إنشاء رسالة مصادقة
WEAVE_ERROR GenerateAuthenticateTokenMessage( PacketBuffer *msgBuf )
إنشاء رسالة مصادقة
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 )
إنشاءReAuthenticateTokenMessage
WEAVE_ERROR GenerateReAuthenticateTokenMessage( PacketBuffer *msgBuf )
إنشاءReAuthenticateTokenResponseMessage
WEAVE_ERROR GenerateReAuthenticateTokenResponseMessage( PacketBuffer *msgBuf )
GenerateTokenReconfigureMessage
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
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 )
ProcessTokenReconfigureMessage
WEAVE_ERROR ProcessTokenReconfigureMessage( uint8_t & config, const PacketBuffer *msgBuf )
اغلق
void Shutdown( void )
UseSessionKey
bool UseSessionKey( void ) const
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجّلة لشركة Oracle و/أو شركائها التابعين، وThread هي علامة تجارية مسجّلة لشركة .Thread Group, Inc.
Last updated 2018-06-05 UTC.
[{
"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":"غير ذلك"
}]