class WeaveSignatureGeneratorBase
Defined at line 55 of file x64-shared/gen/third_party/openweave-core/src/include/Weave/Profiles/security/WeaveSig.h
Provides generic functionality for generating WeaveSignatures.
This is an abstract base class that can be used encode WeaveSignature TLV structures.
This class provides the common functionality for encoding such signatures but delegates
to the subclass to compute and encode the signature data field.
Public Members
WeaveCertificateSet & CertSet
WeaveCertificateData * SigningCert
OID SigAlgoOID
uint16_t Flags
Public Methods
WEAVE_ERROR GenerateSignature (const uint8_t * msgHash, uint8_t msgHashLen, TLVWriter & writer)
WEAVE_ERROR GenerateSignature (const uint8_t * msgHash, uint8_t msgHashLen, uint8_t * sigBuf, uint16_t sigBufSize, uint16_t & sigLen)
WEAVE_ERROR GenerateSignature (const uint8_t * msgHash, uint8_t msgHashLen, TLVWriter & writer, uint64_t tag)
Protected Methods
void WeaveSignatureGeneratorBase (WeaveCertificateSet & certSet)
Defined at line 104 of file x64-shared/gen/third_party/openweave-core/src/include/Weave/Profiles/security/WeaveSig.h
WEAVE_ERROR GenerateSignatureData (const uint8_t * msgHash, uint8_t msgHashLen, TLVWriter & writer)
Enumerations
enum
| Name | Value |
|---|---|
| kFlag_None | 0 |
| kFlag_IncludeSigningCertSubjectDN | 0x0001 |
| kFlag_IncludeSigningCertKeyId | 0x0002 |
| kFlag_IncludeRelatedCertificates | 0x0004 |
Defined at line 58 of file x64-shared/gen/third_party/openweave-core/src/include/Weave/Profiles/security/WeaveSig.h