Interface DecryptDataResponse.Builder

    • Method Detail

      • keyArn

        DecryptDataResponse.Builder keyArn​(String keyArn)

        The keyARN of the encryption key that Amazon Web Services Payment Cryptography uses for ciphertext decryption.

        Parameters:
        keyArn - The keyARN of the encryption key that Amazon Web Services Payment Cryptography uses for ciphertext decryption.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • keyCheckValue

        DecryptDataResponse.Builder keyCheckValue​(String keyCheckValue)

        The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed.

        Amazon Web Services Payment Cryptography computes the KCV according to the CMAC specification.

        Parameters:
        keyCheckValue - The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed.

        Amazon Web Services Payment Cryptography computes the KCV according to the CMAC specification.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • plainText

        DecryptDataResponse.Builder plainText​(String plainText)

        The decrypted plaintext data in hexBinary format.

        Parameters:
        plainText - The decrypted plaintext data in hexBinary format.
        Returns:
        Returns a reference to this object so that method calls can be chained together.