PrivateKeyArgs constructor
const
PrivateKeyArgs({})
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).
Implementation
const PrivateKeyArgs({
required this.algorithm,
this.ecdsaCurve,
this.rsaBits,
});