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)


1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
# File 'lib/aws-sdk-paymentcryptographydata/types.rb', line 1937

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.



1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
# File 'lib/aws-sdk-paymentcryptographydata/types.rb', line 1937

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.



1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
# File 'lib/aws-sdk-paymentcryptographydata/types.rb', line 1937

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.



1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
# File 'lib/aws-sdk-paymentcryptographydata/types.rb', line 1937

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.



1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
# File 'lib/aws-sdk-paymentcryptographydata/types.rb', line 1937

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



1937
1938
1939
# File 'lib/aws-sdk-paymentcryptographydata/types.rb', line 1937

def unknown
  @unknown
end