nl:: بافت:: پروفایل ها:: امنیت:: مورد:: موتور WeaveCASEE
#include <src/lib/profiles/security/WeaveCASE.h>
منطق اصلی پروتکل Weave CASE را پیاده سازی می کند.
خلاصه
انواع عمومی | |
---|---|
EngineState | شمارش |
صفات عمومی | |
---|---|
AfterKeyGen | struct nl::Weave::Profiles::Security::CASE::WeaveCASEEngine::@232::@234 |
AuthDelegate | |
BeforeKeyGen | struct nl::Weave::Profiles::Security::CASE::WeaveCASEEngine::@232::@233 |
ECDHPrivateKey [kMaxECDHPrivateKeySize] | uint8_t |
ECDHPrivateKeyLength | uint16_t |
EncryptionKey | |
EncryptionType | uint8_t |
InitiatorKeyConfirmHash [kMaxHashLength] | uint8_t |
RequestMsgHash [kMaxHashLength] | uint8_t |
SessionKeyId | uint16_t |
State | uint8_t |
انواع عمومی
وضعیت موتور
EngineState
صفات عمومی
AfterKeyGen
struct nl::Weave::Profiles::Security::CASE::WeaveCASEEngine::@232::@234 AfterKeyGen
Auth Delegate
WeaveCASEAuthDelegate * AuthDelegate
BeforeKeyGen
struct nl::Weave::Profiles::Security::CASE::WeaveCASEEngine::@232::@233 BeforeKeyGen
ECDHPrivateKey
uint8_t ECDHPrivateKey[kMaxECDHPrivateKeySize]
ECDHPrivateKeyLength
uint16_t ECDHPrivateKeyLength
EncryptionKey
WeaveEncryptionKey EncryptionKey
نوع رمزگذاری
uint8_t EncryptionType
InitiatorKeyConfirmHash
uint8_t InitiatorKeyConfirmHash[kMaxHashLength]
RequestMsgHash
uint8_t RequestMsgHash[kMaxHashLength]
SessionKeyId
uint16_t SessionKeyId
دولت
uint8_t State
توابع عمومی
AllowedConfigs
uint8_t AllowedConfigs() const
AllowedCurves
uint8_t AllowedCurves() const
CertType
uint8_t CertType() const
GenerateBeginSessionRequest
WEAVE_ERROR GenerateBeginSessionRequest( BeginSessionRequestContext & reqCtx, PacketBuffer *msgBuf )
GenerateBeginSessionResponse
WEAVE_ERROR GenerateBeginSessionResponse( BeginSessionResponseContext & respCtx, PacketBuffer *msgBuf, BeginSessionRequestContext & reqCtx )
GenerateInitiatorKeyConfirm
WEAVE_ERROR GenerateInitiatorKeyConfirm( PacketBuffer *msgBuf )
GetSessionKey
WEAVE_ERROR GetSessionKey( const WeaveEncryptionKey *& encKey )
شروع کنید
void Init( void )
IsAllowedConfig
bool IsAllowedConfig( uint32_t config ) const
IsAllowedCurve
bool IsAllowedCurve( uint32_t curveId ) const
آغازگر است
bool IsInitiator() const
PerformingKeyConfirm
bool PerformingKeyConfirm() const
ProcessBeginSessionRequest
WEAVE_ERROR ProcessBeginSessionRequest( PacketBuffer *msgBuf, BeginSessionRequestContext & reqCtx, ReconfigureContext & reconfCtx )
ProcessBeginSessionResponse
WEAVE_ERROR ProcessBeginSessionResponse( PacketBuffer *msgBuf, BeginSessionResponseContext & respCtx )
ProcessInitiatorKeyConfirm
WEAVE_ERROR ProcessInitiatorKeyConfirm( PacketBuffer *msgBuf )
ProcessReconfigure
WEAVE_ERROR ProcessReconfigure( PacketBuffer *msgBuf, ReconfigureContext & reconfCtx )
بازنشانی کنید
void Reset( void )
ResponderRequiresKeyConfirm
bool ResponderRequiresKeyConfirm() const
SelectedConfig
uint32_t SelectedConfig() const
منحنی انتخاب شده
uint32_t SelectedCurve() const
SetAllowedConfigs
void SetAllowedConfigs( uint8_t allowedConfigs )
SetAllowedCurves
void SetAllowedCurves( uint8_t allowedCurves )
SetAlternateConfigs
void SetAlternateConfigs( BeginSessionRequestContext & reqCtx )
SetAlternateCurves
void SetAlternateCurves( BeginSessionRequestContext & reqCtx )
SetCertType
void SetCertType( uint8_t certType )
SetResponderRequiresKeyConfirm
void SetResponderRequiresKeyConfirm( bool val )
SetUseKnownECDHKey
void SetUseKnownECDHKey( bool val )
خاموش شدن
void Shutdown( void )
UseKnownECDHKey
bool UseKnownECDHKey() const
جز در مواردی که غیر از این ذکر شده باشد، محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است و نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است. Thread علامت تجاری ثبتشده Thread Group, Inc است.
تاریخ آخرین بهروزرسانی 2020-08-28 بهوقت ساعت هماهنگ جهانی.
[{
"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":"غیره"
}]