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
A builder class for creating and importing asymmetric keys. This class provides methods to configure key properties and generate or import both public and private keys.

Extends

  • BaseCryptoClass

Extended by

Accessors

algorithm

Set Signature

set algorithm(algorithm): void Set the algorithm to be used for the asymmetric key.
Throws
InvalidArgumentError If the algorithm is not supported.
Parameters
algorithm
AsymmetricAlgorithm The asymmetric algorithm to use.
Returns
void

exportable

Set Signature

set exportable(exportable): void Set whether the key is exportable.
Remarks
A key is NOT exportable unless explicitly set so.
Parameters
exportable
boolean A boolean value indicating whether the key is exportable.
Returns
void
Last modified on October 2, 2025