Interface DukptEncryptionAttributes.Builder

    • Method Detail

      • dukptKeyDerivationType

        DukptEncryptionAttributes.Builder dukptKeyDerivationType​(String dukptKeyDerivationType)

        The key type encrypted 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:
        dukptKeyDerivationType - The key type encrypted 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
      • dukptKeyDerivationType

        DukptEncryptionAttributes.Builder dukptKeyDerivationType​(DukptDerivationType dukptKeyDerivationType)

        The key type encrypted 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:
        dukptKeyDerivationType - The key type encrypted 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

        DukptEncryptionAttributes.Builder dukptKeyVariant​(String dukptKeyVariant)

        The type of use of DUKPT, which can be incoming data decryption, outgoing data encryption, or both.

        Parameters:
        dukptKeyVariant - The type of use of DUKPT, which can be incoming data decryption, outgoing data encryption, or both.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DukptKeyVariant, DukptKeyVariant
      • dukptKeyVariant

        DukptEncryptionAttributes.Builder dukptKeyVariant​(DukptKeyVariant dukptKeyVariant)

        The type of use of DUKPT, which can be incoming data decryption, outgoing data encryption, or both.

        Parameters:
        dukptKeyVariant - The type of use of DUKPT, which can be incoming data decryption, outgoing data encryption, or both.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DukptKeyVariant, DukptKeyVariant
      • initializationVector

        DukptEncryptionAttributes.Builder initializationVector​(String initializationVector)

        An input to cryptographic primitive used to provide the intial state. Typically the InitializationVector must have a random or psuedo-random value, but sometimes it only needs to be unpredictable or unique. If you don't provide a value, Amazon Web Services Payment Cryptography generates a random value.

        Parameters:
        initializationVector - An input to cryptographic primitive used to provide the intial state. Typically the InitializationVector must have a random or psuedo-random value, but sometimes it only needs to be unpredictable or unique. If you don't provide a value, Amazon Web Services Payment Cryptography generates a random value.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • keySerialNumber

        DukptEncryptionAttributes.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.
      • mode

        DukptEncryptionAttributes.Builder mode​(String mode)

        The block cipher mode of operation. Block ciphers are designed to encrypt a block of data of fixed size, for example, 128 bits. The size of the input block is usually same as the size of the encrypted output block, while the key length can be different. A mode of operation describes how to repeatedly apply a cipher's single-block operation to securely transform amounts of data larger than a block.

        The default is CBC.

        Parameters:
        mode - The block cipher mode of operation. Block ciphers are designed to encrypt a block of data of fixed size, for example, 128 bits. The size of the input block is usually same as the size of the encrypted output block, while the key length can be different. A mode of operation describes how to repeatedly apply a cipher's single-block operation to securely transform amounts of data larger than a block.

        The default is CBC.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DukptEncryptionMode, DukptEncryptionMode
      • mode

        DukptEncryptionAttributes.Builder mode​(DukptEncryptionMode mode)

        The block cipher mode of operation. Block ciphers are designed to encrypt a block of data of fixed size, for example, 128 bits. The size of the input block is usually same as the size of the encrypted output block, while the key length can be different. A mode of operation describes how to repeatedly apply a cipher's single-block operation to securely transform amounts of data larger than a block.

        The default is CBC.

        Parameters:
        mode - The block cipher mode of operation. Block ciphers are designed to encrypt a block of data of fixed size, for example, 128 bits. The size of the input block is usually same as the size of the encrypted output block, while the key length can be different. A mode of operation describes how to repeatedly apply a cipher's single-block operation to securely transform amounts of data larger than a block.

        The default is CBC.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DukptEncryptionMode, DukptEncryptionMode