GetPublicKeyResult class
Result data returned by getPublicKey.
Constructors
- GetPublicKeyResult({String? algorithm, String? id, String? privateKeyOpenssh, String? privateKeyPem, String? publicKeyFingerprintMd5, String? publicKeyFingerprintSha256, String? publicKeyOpenssh, String? publicKeyPem})
-
Creates a new GetPublicKeyResult.
algorithmThe name of the algorithm used by the given private key. Possible values are:RSA,ECDSA,ED25519.idUnique identifier for this data source: hexadecimal representation of the SHA1 checksum of the data source.privateKeyOpensshThe private key (in OpenSSH PEM (RFC 4716) format) to extract the public key from. This is mutually exclusive withprivateKeyPem. Currently-supported algorithms for keys are:RSA,ECDSA,ED25519.privateKeyPemThe private key (in PEM (RFC 1421) format) to extract the public key from. This is mutually exclusive withprivateKeyOpenssh. Currently-supported algorithms for keys are:RSA,ECDSA,ED25519.publicKeyFingerprintMd5The 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, as per the rules forpublicKeyOpensshand ECDSA P224 limitations.publicKeyFingerprintSha256The fingerprint of the public key data in OpenSSH SHA256 hash format, e.g.SHA256:.... Only available if the selected private key format is compatible, as per the rules forpublicKeyOpensshand ECDSA P224 limitations.publicKeyOpensshThe public key, in OpenSSH PEM (RFC 4716) format. This is also known as 'Authorized Keys' format. This is not populated forECDSAwith curveP224, as it is not supported. NOTE: the underlying libraries that generate this value append a\nat the end of the PEM. In case this disrupts your use case, we recommend usingtrimspace().publicKeyPemThe public key, in PEM (RFC 1421) format. NOTE: the underlying libraries that generate this value append a\nat the end of the PEM. In case this disrupts your use case, we recommend usingtrimspace().const -
GetPublicKeyResult.fromMap(Map<
String, dynamic> map) -
factory
Properties
- algorithm → String?
-
The name of the algorithm used by the given private key. Possible values are:
RSA,ECDSA,ED25519.final - hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
Unique identifier for this data source: hexadecimal representation of the SHA1 checksum of the data source.
final
- privateKeyOpenssh → String?
-
The private key (in OpenSSH PEM (RFC 4716) format) to extract the public key from. This is mutually exclusive with
privateKeyPem. Currently-supported algorithms for keys are:RSA,ECDSA,ED25519.final - privateKeyPem → String?
-
The private key (in PEM (RFC 1421) format) to extract the public key from. This is mutually exclusive with
privateKeyOpenssh. Currently-supported algorithms for keys are:RSA,ECDSA,ED25519.final - publicKeyFingerprintMd5 → 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, as per the rules forpublicKeyOpensshand ECDSA P224 limitations.final - publicKeyFingerprintSha256 → 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, as per the rules forpublicKeyOpensshand ECDSA P224 limitations.final - publicKeyOpenssh → String?
-
The public key, in OpenSSH PEM (RFC 4716) format. This is also known as 'Authorized Keys' format. This is not populated for
ECDSAwith curveP224, as it is not supported. NOTE: the underlying libraries that generate this value append a\nat the end of the PEM. In case this disrupts your use case, we recommend usingtrimspace().final - publicKeyPem → String?
-
The public key, in PEM (RFC 1421) format. NOTE: the underlying libraries that generate this value append a
\nat the end of the PEM. In case this disrupts your use case, we recommend usingtrimspace().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