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
bits
Set Signature
set bits(bits): void
Set the size of the RSA key.
Defaults to 4096.
Parameters
bits
number
The size of the key in bits. Common values are 2048,
3072, or 4096.
Returns
void

