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.
algorithmName of the algorithm to use when generating the private key. Currently-supported values are:RSA,ECDSA,ED25519.ecdsaCurveWhenalgorithmisECDSA, the name of the elliptic curve to use. Currently-supported values are:P224,P256,P384,P521. (default:P224).rsaBitsWhenalgorithmisRSA, 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
algorithmisECDSA, 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
algorithmisRSA, 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