Interface GenerateCardValidationDataResponse.Builder

    • Method Detail

      • keyArn

        GenerateCardValidationDataResponse.Builder keyArn​(String keyArn)

        The keyARN of the CVK encryption key that Amazon Web Services Payment Cryptography uses to generate CVV or CSC.

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

        GenerateCardValidationDataResponse.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 calculates the KCV by using standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and then truncating the result to the first 3 bytes, or 6 hex digits, of the resulting cryptogram.

        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 calculates the KCV by using standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and then truncating the result to the first 3 bytes, or 6 hex digits, of the resulting cryptogram.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • validationData

        GenerateCardValidationDataResponse.Builder validationData​(String validationData)

        The CVV or CSC value that Amazon Web Services Payment Cryptography generates for the card.

        Parameters:
        validationData - The CVV or CSC value that Amazon Web Services Payment Cryptography generates for the card.
        Returns:
        Returns a reference to this object so that method calls can be chained together.