لن 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. The OPENTHREAD and related marks are trademarks of the Thread Group and are used under license.
تاریخ آخرین بهروزرسانی 2023-12-01 بهوقت ساعت هماهنگ جهانی.
[{
"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":"غیره"
}]
میخواهید موارد بیشتری را با ما درمیان بگذارید؟