as

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

SigningContext

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

  • If the sign operation fails.

Returns

Promise<ArrayBuffer>

Promise A promise that resolves to the digital signature.


Last updated: Jul 22, 2026