لن
uint8_t Len
سیگ
uint8_t * Sig
توابع عمومی
برابر است
bool IsEqual(
const EncodedHMACSignature & other
) const
با امضای HMAC دیگر مقایسه می شود.
جزئیات | مولفه های | |
ارزش های بازگشتی | true | امضاها برابر است. | false | امضاها برابر نیستند. |
|
ReadSignature
WEAVE_ERROR ReadSignature(
TLVReader & reader
)
امضا را به عنوان ساختار Weave HMACSignature از خواننده TLV مشخص شده می خواند.
جزئیات | مولفه های | [in] reader | شی TLVReader که امضای کدگذاری شده باید از آن خوانده شود. |
|
ارزش های بازگشتی | WEAVE_NO_ERROR | اگر عملیات موفقیت آمیز بود. | other | سایر کدهای خطای Weave مربوط به خواندن امضا. |
|
WriteSignature
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":"غیره"
}]