Interface MacAlgorithmDukpt.Builder

  • Method Details

    • keySerialNumber

      MacAlgorithmDukpt.Builder keySerialNumber(String keySerialNumber)

      The unique identifier known as Key Serial Number (KSN) that comes from an encrypting device using DUKPT encryption method. The KSN is derived from the encrypting device unique identifier and an internal transaction counter.

      Parameters:
      keySerialNumber - The unique identifier known as Key Serial Number (KSN) that comes from an encrypting device using DUKPT encryption method. The KSN is derived from the encrypting device unique identifier and an internal transaction counter.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • dukptKeyVariant

      MacAlgorithmDukpt.Builder dukptKeyVariant(String dukptKeyVariant)

      The type of use of DUKPT, which can be MAC generation, MAC verification, or both.

      Parameters:
      dukptKeyVariant - The type of use of DUKPT, which can be MAC generation, MAC verification, or both.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dukptKeyVariant

      MacAlgorithmDukpt.Builder dukptKeyVariant(DukptKeyVariant dukptKeyVariant)

      The type of use of DUKPT, which can be MAC generation, MAC verification, or both.

      Parameters:
      dukptKeyVariant - The type of use of DUKPT, which can be MAC generation, MAC verification, or both.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dukptDerivationType

      MacAlgorithmDukpt.Builder dukptDerivationType(String dukptDerivationType)

      The key type derived using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN). This must be less than or equal to the strength of the BDK. For example, you can't use AES_128 as a derivation type for a BDK of AES_128 or TDES_2KEY.

      Parameters:
      dukptDerivationType - The key type derived using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN). This must be less than or equal to the strength of the BDK. For example, you can't use AES_128 as a derivation type for a BDK of AES_128 or TDES_2KEY.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • dukptDerivationType

      MacAlgorithmDukpt.Builder dukptDerivationType(DukptDerivationType dukptDerivationType)

      The key type derived using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN). This must be less than or equal to the strength of the BDK. For example, you can't use AES_128 as a derivation type for a BDK of AES_128 or TDES_2KEY.

      Parameters:
      dukptDerivationType - The key type derived using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN). This must be less than or equal to the strength of the BDK. For example, you can't use AES_128 as a derivation type for a BDK of AES_128 or TDES_2KEY.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: