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.
arnKey ARN of the asymmetric CMK from which the public key was downloaded.customerMasterKeySpecType of the public key that was downloaded.encryptionAlgorithmsEncryption algorithms that AWS KMS supports for this key. Only set when thekeyUsageof the public key isENCRYPT_DECRYPT.grantTokensOptional.idThe provider-assigned unique ID for this managed resource.keyIdOptional.keyUsagePermitted use of the public key. Valid values areENCRYPT_DECRYPTorSIGN_VERIFYpublicKeyExported 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.publicKeyPemExported public key. The value is Privacy Enhanced Mail (PEM) encoded.regionOptional.signingAlgorithmsSigning algorithms that AWS KMS supports for this key. Only set when thekeyUsageof the public key isSIGN_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
keyUsageof the public key isENCRYPT_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_DECRYPTorSIGN_VERIFYfinal - 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
keyUsageof the public key isSIGN_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