nl:: بافت:: پروفایل ها:: امنیت:: WeaveSignatureGeneratorBase
این یک کلاس انتزاعی است.#include <src/lib/profiles/security/WeaveSig.h>
قابلیت های عمومی را برای تولید WeaveSignatures ارائه می دهد.
خلاصه
این یک کلاس پایه انتزاعی است که می توان از آن برای رمزگذاری ساختارهای WeaveSignature TLV استفاده کرد. این کلاس عملکرد مشترکی را برای رمزگذاری چنین امضاهایی فراهم می کند، اما برای محاسبه و کدگذاری فیلد داده امضا به زیر کلاس واگذار می کند.
وراثت
زیر کلاس های مستقیم شناخته شده:nl::بافندگی::پروفایل::امنیت::KeyExport::__FINAL
nl::Weave::پروفایل::امنیت::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
توابع عمومی
تولید امضا
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 )
تولید امضا
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
WeaveSignatureGeneratorBase
WeaveSignatureGeneratorBase( WeaveCertificateSet & certSet )
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Thread is a registered trademark of the Thread Group, Inc.
Last updated 2020-08-28 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"اطلاعاتی که نیاز دارم وجود ندارد"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"بیشازحد پیچیده/ مراحل بسیار زیاد"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"قدیمی"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"مشکل ترجمه"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"مشکل کد / نمونهها"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"غیره"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"درک آسان"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"مشکلم را برطرف کرد"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"غیره"
}]