Class: Aws::PaymentCryptographyData::Types::GenerateMacInput

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

Overview

Constant Summary collapse

SENSITIVE =
[:message_data]

Instance Attribute Summary collapse

Instance Attribute Details

#generation_attributesTypes::MacAttributes

The attributes and data values to use for MAC generation within Amazon Web Services Payment Cryptography.



1205
1206
1207
1208
1209
1210
1211
1212
# File 'lib/aws-sdk-paymentcryptographydata/types.rb', line 1205

class GenerateMacInput < Struct.new(
  :key_identifier,
  :message_data,
  :generation_attributes,
  :mac_length)
  SENSITIVE = [:message_data]
  include Aws::Structure
end

#key_identifierString

The ‘keyARN` of the MAC generation encryption key.

Returns:

  • (String)


1205
1206
1207
1208
1209
1210
1211
1212
# File 'lib/aws-sdk-paymentcryptographydata/types.rb', line 1205

class GenerateMacInput < Struct.new(
  :key_identifier,
  :message_data,
  :generation_attributes,
  :mac_length)
  SENSITIVE = [:message_data]
  include Aws::Structure
end

#mac_lengthInteger

The length of a MAC under generation.

Returns:

  • (Integer)


1205
1206
1207
1208
1209
1210
1211
1212
# File 'lib/aws-sdk-paymentcryptographydata/types.rb', line 1205

class GenerateMacInput < Struct.new(
  :key_identifier,
  :message_data,
  :generation_attributes,
  :mac_length)
  SENSITIVE = [:message_data]
  include Aws::Structure
end

#message_dataString

The data for which a MAC is under generation. This value must be hexBinary.

Returns:

  • (String)


1205
1206
1207
1208
1209
1210
1211
1212
# File 'lib/aws-sdk-paymentcryptographydata/types.rb', line 1205

class GenerateMacInput < Struct.new(
  :key_identifier,
  :message_data,
  :generation_attributes,
  :mac_length)
  SENSITIVE = [:message_data]
  include Aws::Structure
end