as

Settings
Sign out
Notifications
Alexa
亚马逊应用商店
AWS
文档
Support
Contact Us
My Cases
新手入门
设计和开发
应用发布
参考
支持
感谢您的访问。此页面目前仅提供英语版本。我们正在开发中文版本。谢谢您的理解。

VerificationContext

Represents a verification context. This class provides functionality to verify digital signatures, ensuring the authenticity and integrity of signed messages.

Extends

  • BaseCryptoClass

Methods

verify()

verify(message, signature): Promise<boolean>

Verify that the provided signature is valid for the given message.

Parameters

message

ArrayBuffer

The original message that was signed.

signature

ArrayBuffer

The digital signature to verify.

Returns

Promise<boolean>

A promise that resolves to true if the signature is valid, false otherwise.

Remarks

The method handles the hashing of the message internally, so the caller should provide the full, unhashed message data.

Throws

SecurityError If the verification operation fails.


Last updated: Oct 02, 2025