Google is committed to advancing racial equity for Black communities.
See how.
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
nl::Weave::الملفات الشخصية::الأمان::WeaveSignatureGenerator
#include <src/lib/profiles/security/WeaveSig.h>
لإنشاء توقيع WeaveSignature باستخدام مفتاح خاص في الذاكرة.
الملخّص
يمكن استخدام هذه الفئة لترميز بنية WeaveSignature TLV حيث يتم حساب حقل بيانات التوقيع باستخدام مفتاح خاص متوفّر.
الاكتساب
يكتسب من:
nl::Weave::Profiles::Security::WeaveSignatureGeneratorBase
السمات العامة
مفتاح Priv
const uint8_t * PrivKey
PrivKeyLen
uint16_t PrivKeyLen
وظائف عامة
إنشاء توقيع
virtual WEAVE_ERROR GenerateSignature(
const uint8_t *msgHash,
uint8_t msgHashLen,
TLVWriter & writer,
uint64_t tag
) __OVERRIDE
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":"لا يحتوي على المعلومات التي أحتاج إليها."
},{
"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":"غير ذلك"
}]