Interface MacAlgorithmDukpt.Builder

    • Method Detail

      • 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, DukptDerivationType
      • 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:
        DukptDerivationType, DukptDerivationType
      • 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, DukptKeyVariant
      • 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:
        DukptKeyVariant, DukptKeyVariant
      • 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.