

# RecipientInfo
<a name="API_RecipientInfo"></a>

Contains information about the party that receives the response from the API operation.

This data type is designed to support Amazon Nitro Enclaves and Amazon NitroTPM, which lets you create an attested environment in Amazon EC2. For information about the interaction between Amazon KMS and Amazon Nitro Enclaves or Amazon NitroTPM, see [Cryptographic attestation support in Amazon KMS](https://docs.amazonaws.cn/kms/latest/developerguide/cryptographic-attestation.html) in the * Amazon Key Management Service Developer Guide*.

## Contents
<a name="API_RecipientInfo_Contents"></a>

**Note**  
In the following list, the required parameters are described first.

 ** AttestationDocument **   <a name="KMS-Type-RecipientInfo-AttestationDocument"></a>
The attestation document for an Amazon Nitro Enclave or a NitroTPM. This document includes the enclave's public key.  
Type: Base64-encoded binary data object  
Length Constraints: Minimum length of 1. Maximum length of 262144.  
Required: No

 ** KeyEncryptionAlgorithm **   <a name="KMS-Type-RecipientInfo-KeyEncryptionAlgorithm"></a>
The encryption algorithm that Amazon KMS should use with the public key for an Amazon Nitro Enclave or NitroTPM to encrypt plaintext values for the response. The only valid value is `RSAES_OAEP_SHA_256`.  
Type: String  
Valid Values: `RSAES_OAEP_SHA_256`   
Required: No

## See Also
<a name="API_RecipientInfo_SeeAlso"></a>

For more information about using this API in one of the language-specific Amazon SDKs, see the following:
+  [Amazon SDK for C\+\+](https://docs.amazonaws.cn/goto/SdkForCpp/kms-2014-11-01/RecipientInfo) 
+  [Amazon SDK for Java V2](https://docs.amazonaws.cn/goto/SdkForJavaV2/kms-2014-11-01/RecipientInfo) 
+  [Amazon SDK for Ruby V3](https://docs.amazonaws.cn/goto/SdkForRubyV3/kms-2014-11-01/RecipientInfo) 