Google is committed to advancing racial equity for Black communities.
See how.
nl::Weave::التشفير::EncodedHMACSignature
الملخّص
الأنواع المتاحة للجميع
|
@350
|
تعداد |
السمات العامة
|
Len
|
uint8_t
|
Sig
|
uint8_t *
|
الأنواع المتاحة للجميع
@350
@350
السمات العامة
لين
uint8_t Len
سيغ
uint8_t * Sig
وظائف عامة
متساوٍ
bool IsEqual(
const EncodedHMACSignature & other
) const
تتم المقارنة بتوقيع HMAC آخر.
التفاصيل |
المعلَمات |
|
قيم الإرجاع |
true
|
التوقيعات متساوية.
|
false
|
التوقيعات غير متساوية.
|
|
قراءة التوقيع
WEAVE_ERROR ReadSignature(
TLVReader & reader
)
قراءة التوقيع كبنية التوقيع على Weave HMAC من قارئ TLV المحدد.
التفاصيل |
المعلَمات |
[in] reader
|
عنصر TLVReader الذي يجب قراءة التوقيع المشفّر منه.
|
|
قيم الإرجاع |
WEAVE_NO_ERROR
|
إذا تم تنفيذ العملية بنجاح.
|
other
|
رموز خطأ Weave الأخرى ذات الصلة بقراءة التوقيع.
|
|
كتابة توقيع
WEAVE_ERROR WriteSignature(
TLVWriter & writer,
uint64_t tag
) const
تتم كتابة التوقيع كبنية Weave HMACSignature لكاتب TLV المحدد بالعلامة المحددة.
التفاصيل |
المعلَمات |
[in] writer
|
عنصر TLVWriter الذي يجب كتابة التوقيع الموقّع عليه.
|
[in] tag
|
علامة TLV المراد ربطها ببنية التوقيع المشفّرة.
|
|
قيم الإرجاع |
WEAVE_NO_ERROR
|
إذا تم تنفيذ العملية بنجاح.
|
other
|
رموز خطأ Weave الأخرى المتعلقة بكتابة التوقيع.
|
|
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":"غير ذلك"
}]