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.

