Interface GeneratePinDataResponse.Builder

    • Method Detail

      • encryptedPinBlock

        GeneratePinDataResponse.Builder encryptedPinBlock​(String encryptedPinBlock)

        The PIN block encrypted under PEK from Amazon Web Services Payment Cryptography. The encrypted PIN block is a composite of PAN (Primary Account Number) and PIN (Personal Identification Number), generated in accordance with ISO 9564 standard.

        Parameters:
        encryptedPinBlock - The PIN block encrypted under PEK from Amazon Web Services Payment Cryptography. The encrypted PIN block is a composite of PAN (Primary Account Number) and PIN (Personal Identification Number), generated in accordance with ISO 9564 standard.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • encryptionKeyArn

        GeneratePinDataResponse.Builder encryptionKeyArn​(String encryptionKeyArn)

        The keyARN of the PEK that Amazon Web Services Payment Cryptography uses for encrypted pin block generation.

        Parameters:
        encryptionKeyArn - The keyARN of the PEK that Amazon Web Services Payment Cryptography uses for encrypted pin block generation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • encryptionKeyCheckValue

        GeneratePinDataResponse.Builder encryptionKeyCheckValue​(String encryptionKeyCheckValue)

        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:
        encryptionKeyCheckValue - 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.
      • generationKeyArn

        GeneratePinDataResponse.Builder generationKeyArn​(String generationKeyArn)

        The keyARN of the pin data generation key that Amazon Web Services Payment Cryptography uses for PIN, PVV or PIN Offset generation.

        Parameters:
        generationKeyArn - The keyARN of the pin data generation key that Amazon Web Services Payment Cryptography uses for PIN, PVV or PIN Offset generation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • generationKeyCheckValue

        GeneratePinDataResponse.Builder generationKeyCheckValue​(String generationKeyCheckValue)

        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:
        generationKeyCheckValue - 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.
      • pinData

        GeneratePinDataResponse.Builder pinData​(PinData pinData)

        The attributes and values Amazon Web Services Payment Cryptography uses for pin data generation.

        Parameters:
        pinData - The attributes and values Amazon Web Services Payment Cryptography uses for pin data generation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.