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