nl:: Weave:: Profiles:: Security:: WeaveSignatureGeneratorBase
這是抽象類別。
#include <src/lib/profiles/security/WeaveSig.h>
提供產生 WeaveSignature 的一般功能。
摘要
這是一種抽象基礎類別,可用於對 WeaveSignature TLV 結構進行編碼。此類別提供編碼這類簽章的通用功能,但會委派給子類別,對簽章資料欄位進行運算及編碼。
繼承
直接已知的子類別:nl::Weave::Profiles::Security::KeyExport::__FINAL
nl::Weave::Profiles::Security::WeaveSignatureGenerator
公開類型 |
|
---|---|
@290
|
列舉 |
公開屬性 |
|
---|---|
CertSet
|
|
Flags
|
uint16_t
|
SigAlgoOID
|
OID
|
SigningCert
|
公開函式 |
|
---|---|
GenerateSignature(const uint8_t *msgHash, uint8_t msgHashLen, TLVWriter & writer)
|
|
GenerateSignature(const uint8_t *msgHash, uint8_t msgHashLen, uint8_t *sigBuf, uint16_t sigBufSize, uint16_t & sigLen)
|
|
GenerateSignature(const uint8_t *msgHash, uint8_t msgHashLen, TLVWriter & writer, uint64_t tag)
|
virtual WEAVE_ERROR
|
受保護的函式 |
|
---|---|
GenerateSignatureData(const uint8_t *msgHash, uint8_t msgHashLen, TLVWriter & writer)=0
|
virtual WEAVE_ERROR
|
WeaveSignatureGeneratorBase(WeaveCertificateSet & certSet)
|
|
公開類型
@290 @
@290
公開屬性
CertSet
WeaveCertificateSet & CertSet
旗幟
uint16_t Flags
SigAlgoOID
OID SigAlgoOID
SigningCert
WeaveCertificateData * SigningCert
公開函式
GenerateSignature
WEAVE_ERROR GenerateSignature( const uint8_t *msgHash, uint8_t msgHashLen, TLVWriter & writer )
GenerateSignature
WEAVE_ERROR GenerateSignature( const uint8_t *msgHash, uint8_t msgHashLen, uint8_t *sigBuf, uint16_t sigBufSize, uint16_t & sigLen )
GenerateSignature
virtual WEAVE_ERROR GenerateSignature( const uint8_t *msgHash, uint8_t msgHashLen, TLVWriter & writer, uint64_t tag )
受保護的函式
GenerateSignatureData
virtual WEAVE_ERROR GenerateSignatureData( const uint8_t *msgHash, uint8_t msgHashLen, TLVWriter & writer )=0