nl:: Weave:: โปรไฟล์:: ความปลอดภัย:: KeyExport:: WeaveStandAloneKeyExportClient
#include <src/lib/profiles/security/WeaveKeyExportClient.h>
นําฝั่งไคลเอ็นต์ของโปรโตคอลการส่งออกคีย์ Weave ไปใช้ในบริบทแบบสแตนด์อโลน (การรับส่งข้อความที่ไม่ใช่ Weave)
สรุป
การสืบทอด
รับค่าจาก: nl::Weave::Profiles::Security::KeyExport::WeaveKeyExportDelegate
ฟังก์ชันสาธารณะ |
|
---|---|
AllowNestDevelopmentDevices() const
|
bool
|
AllowNestDevelopmentDevices(bool val)
|
void
|
AllowSHA1DeviceCerts() const
|
bool
|
AllowSHA1DeviceCerts(bool val)
|
void
|
GenerateKeyExportRequest(uint32_t keyId, uint64_t responderNodeId, const uint8_t *clientCert, uint16_t clientCertLen, const uint8_t *clientKey, uint16_t clientKeyLen, uint8_t *reqBuf, uint16_t reqBufSize, uint16_t & reqLen)
|
|
GenerateKeyExportRequest(uint32_t keyId, uint64_t responderNodeId, const uint8_t *accessToken, uint16_t accessTokenLen, uint8_t *reqBuf, uint16_t reqBufSize, uint16_t & reqLen)
|
|
Init(void)
|
void
|
ProcessKeyExportReconfigure(const uint8_t *reconfBuf, uint16_t reconfLen)
|
|
ProcessKeyExportResponse(const uint8_t *respBuf, uint16_t respLen, uint64_t responderNodeId, uint8_t *exportedKeyBuf, uint16_t exportedKeyBufSize, uint16_t & exportedKeyLen, uint32_t & exportedKeyId)
|
|
ProposedConfig() const
|
uint8_t
|
ProposedConfig(uint8_t val)
|
void
|
Reset(void)
|
void
|
ฟังก์ชันสาธารณะ
อนุญาตให้อุปกรณ์ NestNestment
bool AllowNestDevelopmentDevices() const
อนุญาตให้อุปกรณ์ NestNestment
void AllowNestDevelopmentDevices( bool val )
AllowSHA1DeviceCerts
bool AllowSHA1DeviceCerts() const
AllowSHA1DeviceCerts
void AllowSHA1DeviceCerts( bool val )
สร้างคําขอส่งออก
WEAVE_ERROR GenerateKeyExportRequest( uint32_t keyId, uint64_t responderNodeId, const uint8_t *clientCert, uint16_t clientCertLen, const uint8_t *clientKey, uint16_t clientKeyLen, uint8_t *reqBuf, uint16_t reqBufSize, uint16_t & reqLen )
สร้างคําขอส่งออก
WEAVE_ERROR GenerateKeyExportRequest( uint32_t keyId, uint64_t responderNodeId, const uint8_t *accessToken, uint16_t accessTokenLen, uint8_t *reqBuf, uint16_t reqBufSize, uint16_t & reqLen )
เริ่ม
void Init( void )
ProcessKeyExportReconfigure
WEAVE_ERROR ProcessKeyExportReconfigure( const uint8_t *reconfBuf, uint16_t reconfLen )
การตอบกลับคีย์ประมวลผล
WEAVE_ERROR ProcessKeyExportResponse( const uint8_t *respBuf, uint16_t respLen, uint64_t responderNodeId, uint8_t *exportedKeyBuf, uint16_t exportedKeyBufSize, uint16_t & exportedKeyLen, uint32_t & exportedKeyId )
การกําหนดค่าที่เสนอ
uint8_t ProposedConfig() const
การกําหนดค่าที่เสนอ
void ProposedConfig( uint8_t val )
รีเซ็ต
void Reset( void )