Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazonアプリストア
Ring
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

Constructors

new VerificationContext()

new VerificationContext(): VerificationContext

Returns

VerificationContext

Methods

verify()

verify(message: ArrayBuffer, signature: ArrayBuffer): Promise<boolean>

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

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

Parameters

message

ArrayBuffer

The original message that was signed.

signature

ArrayBuffer

The digital signature to verify.

Throws

  • If the verification operation fails.

Returns

Promise<boolean>

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


Last updated: Jul 22, 2026