Class: Aws::PaymentCryptographyData::Types::MacAttributes

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

Overview

Note:

MacAttributes is a union - when making an API calls you must set exactly one of the members.

Parameters that are required for DUKPT, HMAC, or EMV MAC generation or verification.

Defined Under Namespace

Classes: Algorithm, DukptCmac, DukptIso9797Algorithm1, DukptIso9797Algorithm3, EmvMac, Unknown

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#algorithmString

The encryption algorithm for MAC generation or verification.

Returns:

  • (String)


1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
# File 'lib/aws-sdk-paymentcryptographydata/types.rb', line 1623

class MacAttributes < Struct.new(
  :algorithm,
  :emv_mac,
  :dukpt_iso_9797_algorithm_1,
  :dukpt_iso_9797_algorithm_3,
  :dukpt_cmac,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Algorithm < MacAttributes; end
  class EmvMac < MacAttributes; end
  class DukptIso9797Algorithm1 < MacAttributes; end
  class DukptIso9797Algorithm3 < MacAttributes; end
  class DukptCmac < MacAttributes; end
  class Unknown < MacAttributes; end
end

#dukpt_cmacTypes::MacAlgorithmDukpt

Parameters that are required for MAC generation or verification using DUKPT CMAC algorithm.



1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
# File 'lib/aws-sdk-paymentcryptographydata/types.rb', line 1623

class MacAttributes < Struct.new(
  :algorithm,
  :emv_mac,
  :dukpt_iso_9797_algorithm_1,
  :dukpt_iso_9797_algorithm_3,
  :dukpt_cmac,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Algorithm < MacAttributes; end
  class EmvMac < MacAttributes; end
  class DukptIso9797Algorithm1 < MacAttributes; end
  class DukptIso9797Algorithm3 < MacAttributes; end
  class DukptCmac < MacAttributes; end
  class Unknown < MacAttributes; end
end

#dukpt_iso_9797_algorithm_1Types::MacAlgorithmDukpt

Parameters that are required for MAC generation or verification using DUKPT ISO 9797 algorithm1.



1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
# File 'lib/aws-sdk-paymentcryptographydata/types.rb', line 1623

class MacAttributes < Struct.new(
  :algorithm,
  :emv_mac,
  :dukpt_iso_9797_algorithm_1,
  :dukpt_iso_9797_algorithm_3,
  :dukpt_cmac,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Algorithm < MacAttributes; end
  class EmvMac < MacAttributes; end
  class DukptIso9797Algorithm1 < MacAttributes; end
  class DukptIso9797Algorithm3 < MacAttributes; end
  class DukptCmac < MacAttributes; end
  class Unknown < MacAttributes; end
end

#dukpt_iso_9797_algorithm_3Types::MacAlgorithmDukpt

Parameters that are required for MAC generation or verification using DUKPT ISO 9797 algorithm3.



1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
# File 'lib/aws-sdk-paymentcryptographydata/types.rb', line 1623

class MacAttributes < Struct.new(
  :algorithm,
  :emv_mac,
  :dukpt_iso_9797_algorithm_1,
  :dukpt_iso_9797_algorithm_3,
  :dukpt_cmac,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Algorithm < MacAttributes; end
  class EmvMac < MacAttributes; end
  class DukptIso9797Algorithm1 < MacAttributes; end
  class DukptIso9797Algorithm3 < MacAttributes; end
  class DukptCmac < MacAttributes; end
  class Unknown < MacAttributes; end
end

#emv_macTypes::MacAlgorithmEmv

Parameters that are required for MAC generation or verification using EMV MAC algorithm.



1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
# File 'lib/aws-sdk-paymentcryptographydata/types.rb', line 1623

class MacAttributes < Struct.new(
  :algorithm,
  :emv_mac,
  :dukpt_iso_9797_algorithm_1,
  :dukpt_iso_9797_algorithm_3,
  :dukpt_cmac,
  :unknown)
  SENSITIVE = []
  include Aws::Structure
  include Aws::Structure::Union

  class Algorithm < MacAttributes; end
  class EmvMac < MacAttributes; end
  class DukptIso9797Algorithm1 < MacAttributes; end
  class DukptIso9797Algorithm3 < MacAttributes; end
  class DukptCmac < MacAttributes; end
  class Unknown < MacAttributes; end
end

#unknownObject

Returns the value of attribute unknown

Returns:

  • (Object)

    the current value of unknown



1623
1624
1625
# File 'lib/aws-sdk-paymentcryptographydata/types.rb', line 1623

def unknown
  @unknown
end