as

Settings
Sign out
Notifications
Alexa
Amazonアプリストア
AWS
ドキュメント
Support
Contact Us
My Cases
開発
設計と開発
公開
リファレンス
サポート
メインコンテンツへスキップ
Represents a signing context. This class provides functionality to create digital signatures, which are used to verify the authenticity and integrity of messages.

Extends

  • BaseCryptoClass

Constructors

new SigningContext()

new SigningContext(): SigningContext

Returns

SigningContext

Methods

sign()

sign(message: ArrayBuffer): Promise<ArrayBuffer>
Sign a message to create a digital signature. The method handles the hashing of the message internally, so the caller should provide the full, unhashed message data.

Parameters

message
ArrayBuffer The full message to sign.

Throws

  • SecurityError If the sign operation fails.

Returns

Promise<ArrayBuffer> Promise<ArrayBuffer> A promise that resolves to the digital signature.
最終更新日 2026年8月25日