Interface GeneratePinDataResponse.Builder

  • Method Details

    • 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.
    • encryptionKeyArn

      GeneratePinDataResponse.Builder encryptionKeyArn(String encryptionKeyArn)

      The keyARN of the PEK that Amazon Web Services Payment Cryptography uses for encrypted pin block generation. For ECDH, it is the keyARN of the asymmetric ECC key.

      Parameters:
      encryptionKeyArn - The keyARN of the PEK that Amazon Web Services Payment Cryptography uses for encrypted pin block generation. For ECDH, it is the keyARN of the asymmetric ECC key.
      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.
    • 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.
    • 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.
    • pinData

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

      This is a convenience method that creates an instance of the PinData.Builder avoiding the need to create one manually via PinData.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to pinData(PinData).

      Parameters:
      pinData - a consumer that will call methods on PinData.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: