Interface DukptEncryptionAttributes.Builder

All Superinterfaces:
Buildable, CopyableBuilder<DukptEncryptionAttributes.Builder,DukptEncryptionAttributes>, SdkBuilder<DukptEncryptionAttributes.Builder,DukptEncryptionAttributes>, SdkPojo
Enclosing class:
DukptEncryptionAttributes

public static interface DukptEncryptionAttributes.Builder extends SdkPojo, CopyableBuilder<DukptEncryptionAttributes.Builder,DukptEncryptionAttributes>
  • Method Details

    • 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:
    • 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:
    • 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

      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:
    • initializationVector

      DukptEncryptionAttributes.Builder initializationVector(String initializationVector)

      An input used to provide the intial state. If no value is provided, Amazon Web Services Payment Cryptography defaults it to zero.

      Parameters:
      initializationVector - An input used to provide the intial state. If no value is provided, Amazon Web Services Payment Cryptography defaults it to zero.
      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

      The block cipher method to use for encryption.

      The default is CBC.

      Parameters:
      mode - The block cipher method to use for encryption.

      The default is CBC.

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

      The block cipher method to use for encryption.

      The default is CBC.

      Parameters:
      mode - The block cipher method to use for encryption.

      The default is CBC.

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