Interface RecipientInfo.Builder

    • Method Detail

      • keyEncryptionAlgorithm

        RecipientInfo.Builder keyEncryptionAlgorithm​(String keyEncryptionAlgorithm)

        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.

        Parameters:
        keyEncryptionAlgorithm - 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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        KeyEncryptionMechanism, KeyEncryptionMechanism
      • keyEncryptionAlgorithm

        RecipientInfo.Builder keyEncryptionAlgorithm​(KeyEncryptionMechanism keyEncryptionAlgorithm)

        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.

        Parameters:
        keyEncryptionAlgorithm - 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.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        KeyEncryptionMechanism, KeyEncryptionMechanism
      • attestationDocument

        RecipientInfo.Builder attestationDocument​(SdkBytes attestationDocument)

        The attestation document for an Amazon Web Services Nitro Enclave. This document includes the enclave's public key.

        Parameters:
        attestationDocument - The attestation document for an Amazon Web Services Nitro Enclave. This document includes the enclave's public key.
        Returns:
        Returns a reference to this object so that method calls can be chained together.