Google is committed to advancing racial equity for Black communities.
See how.
nl::Weave::โปรไฟล์::ความปลอดภัย::WeaveSignatureGenerator
#include <src/lib/profiles/security/WeaveSig.h>
สร้างลายเซ็น Weave โดยใช้คีย์ส่วนตัวในหน่วยความจํา
สรุป
คลาสนี้ใช้เข้ารหัสโครงสร้าง WeaveSignature TLV ได้ ซึ่งจะคํานวณช่องข้อมูลลายเซ็นโดยใช้คีย์ส่วนตัวที่ให้มา
การสืบทอด
รับค่าจาก:
nl::Weave::Profiles::Security::WeaveSignatureGeneratorBase
แอตทริบิวต์สาธารณะ
คีย์ Priv
const uint8_t * PrivKey
พรีคีย์คีย์
uint16_t PrivKeyLen
ฟังก์ชันสาธารณะ
สร้างลายเซ็น
virtual WEAVE_ERROR GenerateSignature(
const uint8_t *msgHash,
uint8_t msgHashLen,
TLVWriter & writer,
uint64_t tag
) __OVERRIDE
โปรแกรมสร้างลายเซ็น Weave
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":"ไม่มีข้อมูลที่ฉันต้องการ"
},{
"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":"อื่นๆ"
}]