Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Skip to main content
Provides support for building RSASSA-PSS signature contexts. This class derives SignatureContextBuilder providing the same methods but internally using a specific signature scheme.

Extends

Accessors

digestAlgorithm

Set Signature

set digestAlgorithm(algorithm): void Set the digest algorithm to use for hashing message contents. This will default to SHA-256 if not specified.
Throws
InvalidArgumentError If the algorithm is invalid.
Parameters
algorithm
DigestAlgorithm The digest algorithm to use.
Returns
void

Inherited from

SignatureContextBuilder.digestAlgorithm

saltLength

Set Signature

set saltLength(saltLength): void Set the length of the salt to use in the RSASSA-PSS signature scheme.
Remarks
If not set, it will default to using the hash length as the salt length.
Parameters
saltLength
number The length of the salt in bytes.
Returns
void
Last modified on October 2, 2025