/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains information about the party that receives the response from the API
* operation. This data type is designed to support Amazon Web Services
* Nitro Enclaves, which lets you create an isolated compute environment in Amazon
* EC2. 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.See Also:
AWS
* API Reference
The encryption algorithm that KMS should use with the public key for an
* Amazon Web Services Nitro Enclave to encrypt plaintext values for the response.
* The only valid value is RSAES_OAEP_SHA_256
.
The encryption algorithm that KMS should use with the public key for an
* Amazon Web Services Nitro Enclave to encrypt plaintext values for the response.
* The only valid value is RSAES_OAEP_SHA_256
.
The encryption algorithm that KMS should use with the public key for an
* Amazon Web Services Nitro Enclave to encrypt plaintext values for the response.
* The only valid value is RSAES_OAEP_SHA_256
.
The encryption algorithm that KMS should use with the public key for an
* Amazon Web Services Nitro Enclave to encrypt plaintext values for the response.
* The only valid value is RSAES_OAEP_SHA_256
.
The encryption algorithm that KMS should use with the public key for an
* Amazon Web Services Nitro Enclave to encrypt plaintext values for the response.
* The only valid value is RSAES_OAEP_SHA_256
.
The encryption algorithm that KMS should use with the public key for an
* Amazon Web Services Nitro Enclave to encrypt plaintext values for the response.
* The only valid value is RSAES_OAEP_SHA_256
.
The attestation document for an Amazon Web Services Nitro Enclave. This * document includes the enclave's public key.
*/ inline const Aws::Utils::ByteBuffer& GetAttestationDocument() const{ return m_attestationDocument; } /** *The attestation document for an Amazon Web Services Nitro Enclave. This * document includes the enclave's public key.
*/ inline bool AttestationDocumentHasBeenSet() const { return m_attestationDocumentHasBeenSet; } /** *The attestation document for an Amazon Web Services Nitro Enclave. This * document includes the enclave's public key.
*/ inline void SetAttestationDocument(const Aws::Utils::ByteBuffer& value) { m_attestationDocumentHasBeenSet = true; m_attestationDocument = value; } /** *The attestation document for an Amazon Web Services Nitro Enclave. This * document includes the enclave's public key.
*/ inline void SetAttestationDocument(Aws::Utils::ByteBuffer&& value) { m_attestationDocumentHasBeenSet = true; m_attestationDocument = std::move(value); } /** *The attestation document for an Amazon Web Services Nitro Enclave. This * document includes the enclave's public key.
*/ inline RecipientInfo& WithAttestationDocument(const Aws::Utils::ByteBuffer& value) { SetAttestationDocument(value); return *this;} /** *The attestation document for an Amazon Web Services Nitro Enclave. This * document includes the enclave's public key.
*/ inline RecipientInfo& WithAttestationDocument(Aws::Utils::ByteBuffer&& value) { SetAttestationDocument(std::move(value)); return *this;} private: KeyEncryptionMechanism m_keyEncryptionAlgorithm; bool m_keyEncryptionAlgorithmHasBeenSet = false; Aws::Utils::ByteBuffer m_attestationDocument; bool m_attestationDocumentHasBeenSet = false; }; } // namespace Model } // namespace KMS } // namespace Aws