GetPublicKeyResult constructor
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.
Implementation
const GetPublicKeyResult({
this.arn,
this.customerMasterKeySpec,
this.encryptionAlgorithms,
this.grantTokens,
this.id,
this.keyId,
this.keyUsage,
this.publicKey,
this.publicKeyPem,
this.region,
this.signingAlgorithms,
});