nl:: Weave:: Profiles:: Security:: WeaveSignatureGeneratorBase
Esta es una clase abstracta.
#include <src/lib/profiles/security/WeaveSig.h>
Proporciona funcionalidad genérica para generar WeaveSignatures.
Resumen
Esta es una clase base abstracta que se puede usar para codificar las estructuras TLV de WeaveSignature. Esta clase proporciona la funcionalidad común para codificar esas firmas, pero delega a la subclase el procesamiento y la codificación del campo de datos de la firma.
Herencia
Subclases conocidas directas:nl::Weave::Profiles::Security::KeyExport::__FINAL
nl::Weave::Profiles::Security::WeaveSignatureGenerator
Tipos públicos |
|
---|---|
@290
|
enum |
Atributos públicos |
|
---|---|
CertSet
|
|
Flags
|
uint16_t
|
SigAlgoOID
|
OID
|
SigningCert
|
Funciones públicas |
|
---|---|
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
|
Funciones protegidas |
|
---|---|
GenerateSignatureData(const uint8_t *msgHash, uint8_t msgHashLen, TLVWriter & writer)=0
|
virtual WEAVE_ERROR
|
WeaveSignatureGeneratorBase(WeaveCertificateSet & certSet)
|
|
Tipos públicos
@290
@290
Atributos públicos
CertSet
WeaveCertificateSet & CertSet
Marcas
uint16_t Flags
SigAlgoOID
OID SigAlgoOID
SigningCert
WeaveCertificateData * SigningCert
Funciones públicas
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 )
Funciones protegidas
GenerateSignatureData
virtual WEAVE_ERROR GenerateSignatureData( const uint8_t *msgHash, uint8_t msgHashLen, TLVWriter & writer )=0