Class: Aws::PaymentCryptographyData::Types::DukptEncryptionAttributes

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-paymentcryptographydata/types.rb

Overview

Parameters that are required to encrypt plaintext data using DUKPT.

Constant Summary collapse

SENSITIVE =
[:initialization_vector]

Instance Attribute Summary collapse

Instance Attribute Details

#dukpt_key_derivation_typeString

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:

  • (String)


641
642
643
644
645
646
647
648
649
# File 'lib/aws-sdk-paymentcryptographydata/types.rb', line 641

class DukptEncryptionAttributes < Struct.new(
  :key_serial_number,
  :mode,
  :dukpt_key_derivation_type,
  :dukpt_key_variant,
  :initialization_vector)
  SENSITIVE = [:initialization_vector]
  include Aws::Structure
end

#dukpt_key_variantString

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

Returns:

  • (String)


641
642
643
644
645
646
647
648
649
# File 'lib/aws-sdk-paymentcryptographydata/types.rb', line 641

class DukptEncryptionAttributes < Struct.new(
  :key_serial_number,
  :mode,
  :dukpt_key_derivation_type,
  :dukpt_key_variant,
  :initialization_vector)
  SENSITIVE = [:initialization_vector]
  include Aws::Structure
end

#initialization_vectorString

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

Returns:

  • (String)


641
642
643
644
645
646
647
648
649
# File 'lib/aws-sdk-paymentcryptographydata/types.rb', line 641

class DukptEncryptionAttributes < Struct.new(
  :key_serial_number,
  :mode,
  :dukpt_key_derivation_type,
  :dukpt_key_variant,
  :initialization_vector)
  SENSITIVE = [:initialization_vector]
  include Aws::Structure
end

#key_serial_numberString

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:

  • (String)


641
642
643
644
645
646
647
648
649
# File 'lib/aws-sdk-paymentcryptographydata/types.rb', line 641

class DukptEncryptionAttributes < Struct.new(
  :key_serial_number,
  :mode,
  :dukpt_key_derivation_type,
  :dukpt_key_variant,
  :initialization_vector)
  SENSITIVE = [:initialization_vector]
  include Aws::Structure
end

#modeString

The block cipher method to use for encryption.

The default is CBC.

Returns:

  • (String)


641
642
643
644
645
646
647
648
649
# File 'lib/aws-sdk-paymentcryptographydata/types.rb', line 641

class DukptEncryptionAttributes < Struct.new(
  :key_serial_number,
  :mode,
  :dukpt_key_derivation_type,
  :dukpt_key_variant,
  :initialization_vector)
  SENSITIVE = [:initialization_vector]
  include Aws::Structure
end