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 Elliptic Curve Cryptography (ECC) keys. This class extends AsymmetricKeyBuilder to provide ECC-specific functionality.

Extends

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

Inherited from

AsymmetricKeyBuilder.algorithm

curve

Set Signature

set curve(curve): void Set the elliptic curve to be used for the ECC key. Defaults to P-521.
Throws
InvalidArgumentError If the argument is not a valid curve.
Parameters
curve
EccCurve The elliptic curve to use for key generation.
Returns
void The ECC key builder.
Last modified on October 2, 2025