PrivateKeyArgs class

The set of arguments for PrivateKey. The set of arguments for PrivateKey.

Constructors

PrivateKeyArgs({required Input<String> algorithm, Input<String?>? ecdsaCurve, Input<int?>? rsaBits})
Creates a new PrivateKeyArgs. algorithm Name of the algorithm to use when generating the private key. Currently-supported values are: RSA, ECDSA, ED25519. ecdsaCurve When algorithm is ECDSA, the name of the elliptic curve to use. Currently-supported values are: P224, P256, P384, P521. (default: P224). rsaBits When algorithm is RSA, the size of the generated RSA key, in bits (default: 2048).
const
PrivateKeyArgs.fromMap(Map<String, dynamic> map)
factory

Properties

algorithm → Input<String>
Name of the algorithm to use when generating the private key. Currently-supported values are: RSA, ECDSA, ED25519.
final
ecdsaCurve → Input<String?>?
When algorithm is ECDSA, the name of the elliptic curve to use. Currently-supported values are: P224, P256, P384, P521. (default: P224).
final
hashCode → int
The hash code for this object.
no setterinherited
rsaBits → Input<int?>?
When algorithm is RSA, the size of the generated RSA key, in bits (default: 2048).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited