PrivateKeyState class

Input properties used for looking up and filtering PrivateKey resources.

Constructors

PrivateKeyState({Input<String?>? algorithm, Input<String?>? ecdsaCurve, Input<String?>? privateKeyOpenssh, Input<String?>? privateKeyPem, Input<String?>? privateKeyPemPkcs8, Input<String?>? publicKeyFingerprintMd5, Input<String?>? publicKeyFingerprintSha256, Input<String?>? publicKeyOpenssh, Input<String?>? publicKeyPem, Input<int?>? rsaBits})
Creates a new PrivateKeyState. 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). privateKeyOpenssh Private key data in OpenSSH PEM (RFC 4716) format. privateKeyPem Private key data in PEM (RFC 1421) format. privateKeyPemPkcs8 Private key data in PKCS#8 PEM (RFC 5208) format. publicKeyFingerprintMd5 The fingerprint of the public key data in OpenSSH MD5 hash format, e.g. aa:bb:cc:.... Only available if the selected private key format is compatible, similarly to publicKeyOpenssh and the ECDSA P224 limitations. publicKeyFingerprintSha256 The fingerprint of the public key data in OpenSSH SHA256 hash format, e.g. SHA256:.... Only available if the selected private key format is compatible, similarly to publicKeyOpenssh and the ECDSA P224 limitations. publicKeyOpenssh The public key data in "Authorized Keys" format. This is not populated for ECDSA with curve P224, as it is not supported. NOTE: the underlying libraries that generate this value append a \n at the end of the PEM. In case this disrupts your use case, we recommend using trimspace(). publicKeyPem Public key data in PEM (RFC 1421) format. NOTE: the underlying libraries that generate this value append a \n at the end of the PEM. In case this disrupts your use case, we recommend using trimspace(). rsaBits When algorithm is RSA, the size of the generated RSA key, in bits (default: 2048).
const
PrivateKeyState.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
privateKeyOpenssh → Input<String?>?
Private key data in OpenSSH PEM (RFC 4716) format.
final
privateKeyPem → Input<String?>?
Private key data in PEM (RFC 1421) format.
final
privateKeyPemPkcs8 → Input<String?>?
Private key data in PKCS#8 PEM (RFC 5208) format.
final
publicKeyFingerprintMd5 → Input<String?>?
The fingerprint of the public key data in OpenSSH MD5 hash format, e.g. aa:bb:cc:.... Only available if the selected private key format is compatible, similarly to publicKeyOpenssh and the ECDSA P224 limitations.
final
publicKeyFingerprintSha256 → Input<String?>?
The fingerprint of the public key data in OpenSSH SHA256 hash format, e.g. SHA256:.... Only available if the selected private key format is compatible, similarly to publicKeyOpenssh and the ECDSA P224 limitations.
final
publicKeyOpenssh → Input<String?>?
The public key data in "Authorized Keys" format. This is not populated for ECDSA with curve P224, as it is not supported. NOTE: the underlying libraries that generate this value append a \n at the end of the PEM. In case this disrupts your use case, we recommend using trimspace().
final
publicKeyPem → Input<String?>?
Public key data in PEM (RFC 1421) format. NOTE: the underlying libraries that generate this value append a \n at the end of the PEM. In case this disrupts your use case, we recommend using trimspace().
final
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