GetPublicKeyResult class

Result data returned by getPublicKey.

Constructors

GetPublicKeyResult({String? arn, String? customerMasterKeySpec, List<String>? encryptionAlgorithms, List<String>? grantTokens, String? id, String? keyId, String? keyUsage, String? publicKey, String? publicKeyPem, String? region, List<String>? signingAlgorithms})
Creates a new GetPublicKeyResult. arn Key ARN of the asymmetric CMK from which the public key was downloaded. customerMasterKeySpec Type of the public key that was downloaded. encryptionAlgorithms Encryption algorithms that AWS KMS supports for this key. Only set when the keyUsage of the public key is ENCRYPT_DECRYPT. grantTokens Optional. id The provider-assigned unique ID for this managed resource. keyId Optional. keyUsage Permitted use of the public key. Valid values are ENCRYPT_DECRYPT or SIGN_VERIFY publicKey Exported public key. The value is a DER-encoded X.509 public key, also known as SubjectPublicKeyInfo (SPKI), as defined in RFC 5280. The value is Base64-encoded. publicKeyPem Exported public key. The value is Privacy Enhanced Mail (PEM) encoded. region Optional. signingAlgorithms Signing algorithms that AWS KMS supports for this key. Only set when the keyUsage of the public key is SIGN_VERIFY.
const
GetPublicKeyResult.fromMap(Map<String, dynamic> map)
factory

Properties

arn → String?
Key ARN of the asymmetric CMK from which the public key was downloaded.
final
customerMasterKeySpec → String?
Type of the public key that was downloaded.
final
encryptionAlgorithms → List<String>?
Encryption algorithms that AWS KMS supports for this key. Only set when the keyUsage of the public key is ENCRYPT_DECRYPT.
final
grantTokens → List<String>?
final
hashCode → int
The hash code for this object.
no setterinherited
id → String?
The provider-assigned unique ID for this managed resource.
final
keyId → String?
final
keyUsage → String?
Permitted use of the public key. Valid values are ENCRYPT_DECRYPT or SIGN_VERIFY
final
publicKey → String?
Exported public key. The value is a DER-encoded X.509 public key, also known as SubjectPublicKeyInfo (SPKI), as defined in RFC 5280. The value is Base64-encoded.
final
publicKeyPem → String?
Exported public key. The value is Privacy Enhanced Mail (PEM) encoded.
final
region → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
signingAlgorithms → List<String>?
Signing algorithms that AWS KMS supports for this key. Only set when the keyUsage of the public key is SIGN_VERIFY.
final

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