Class: Aws::PaymentCryptographyData::Types::DukptEncryptionAttributes
- Inherits:
-
Struct
- Object
- Struct
- Aws::PaymentCryptographyData::Types::DukptEncryptionAttributes
- Defined in:
- gems/aws-sdk-paymentcryptographydata/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
-
#dukpt_key_derivation_type ⇒ String
The key type encrypted using DUKPT from a Base Derivation Key (BDK) and Key Serial Number (KSN).
-
#dukpt_key_variant ⇒ String
The type of use of DUKPT, which can be incoming data decryption, outgoing data encryption, or both.
-
#initialization_vector ⇒ String
An input used to provide the intial state.
-
#key_serial_number ⇒ String
The unique identifier known as Key Serial Number (KSN) that comes from an encrypting device using DUKPT encryption method.
-
#mode ⇒ String
The block cipher method to use for encryption.
Instance Attribute Details
#dukpt_key_derivation_type ⇒ String
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
641 642 643 644 645 646 647 648 649 |
# File 'gems/aws-sdk-paymentcryptographydata/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_variant ⇒ String
The type of use of DUKPT, which can be incoming data decryption, outgoing data encryption, or both.
641 642 643 644 645 646 647 648 649 |
# File 'gems/aws-sdk-paymentcryptographydata/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_vector ⇒ String
An input used to provide the intial state. If no value is provided, Amazon Web Services Payment Cryptography defaults it to zero.
641 642 643 644 645 646 647 648 649 |
# File 'gems/aws-sdk-paymentcryptographydata/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_number ⇒ String
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.
641 642 643 644 645 646 647 648 649 |
# File 'gems/aws-sdk-paymentcryptographydata/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 |
#mode ⇒ String
The block cipher method to use for encryption.
The default is CBC.
641 642 643 644 645 646 647 648 649 |
# File 'gems/aws-sdk-paymentcryptographydata/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 |