AWSKMSDecryptResponse
Objective-C
@interface AWSKMSDecryptResponse
Swift
class AWSKMSDecryptResponse
-
The plaintext data encrypted with the public key in the attestation document.
This field is included in the response only when the
Recipient
parameter in the request includes a valid attestation document from an Amazon Web Services Nitro enclave. For information about the interaction between KMS and Amazon Web Services Nitro Enclaves, see How Amazon Web Services Nitro Enclaves uses KMS in the Key Management Service Developer Guide.Declaration
Objective-C
@property (nonatomic, strong) NSData *_Nullable ciphertextForRecipient;
Swift
var ciphertextForRecipient: Data? { get set }
-
The encryption algorithm that was used to decrypt the ciphertext.
Declaration
Objective-C
@property (nonatomic) AWSKMSEncryptionAlgorithmSpec encryptionAlgorithm;
Swift
var encryptionAlgorithm: AWSKMSEncryptionAlgorithmSpec { get set }
-
The Amazon Resource Name (key ARN) of the KMS key that was used to decrypt the ciphertext.
Declaration
Objective-C
@property (nonatomic, strong) NSString *_Nullable keyId;
Swift
var keyId: String? { get set }
-
Decrypted plaintext data. When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
If the response includes the
CiphertextForRecipient
field, thePlaintext
field is null or empty.Declaration
Objective-C
@property (nonatomic, strong) NSData *_Nullable plaintext;
Swift
var plaintext: Data? { get set }