Gửi phản hồi
nl:: Weave:: Hồ sơ:: Bảo mật:: WeaveSignatureGenerator
#include <src/lib/profiles/security/WeaveSig.h>
Tạo WeaveChữ bằng cách sử dụng khóa riêng tư trong bộ nhớ.
Tóm tắt
Lớp này có thể được dùng để mã hóa cấu trúc TLV của Weavesignature, trong đó trường dữ liệu chữ ký được tính toán bằng một khóa riêng tư được cung cấp.
Tính kế thừa
Kế thừa từ:
nl::Weave::Profiles::Security::WeaveSignatureGeneratorBase
Thuộc tính công khai
Khóa ưu tiên
const uint8_t * PrivKey
Phô mai PrivKeyLen
uint16_t PrivKeyLen
Hàm công khai
Tạo chữ ký
virtual WEAVE_ERROR GenerateSignature(
const uint8_t *msgHash,
uint8_t msgHashLen,
TLVWriter & writer,
uint64_t tag
) __OVERRIDE
Chữ ký WeavesignatureGenerator
WeaveSignatureGenerator(
WeaveCertificateSet & certSet,
const uint8_t *privKey,
uint16_t privKeyLen
)
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 2019-01-15 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Thiếu thông tin tôi cần"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Quá phức tạp/quá nhiều bước"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Đã lỗi thời"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Vấn đề về bản dịch"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Vấn đề về mẫu/mã"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Khác"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Dễ hiểu"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Giúp tôi giải quyết được vấn đề"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Khác"
}]
Bạn muốn chia sẻ thêm với chúng tôi?