Class: Aws::KMS::Types::GenerateMacResponse

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#key_idString

The HMAC KMS key used in the operation.

Returns:

  • (String)


3174
3175
3176
3177
3178
3179
3180
# File 'lib/aws-sdk-kms/types.rb', line 3174

class GenerateMacResponse < Struct.new(
  :mac,
  :mac_algorithm,
  :key_id)
  SENSITIVE = []
  include Aws::Structure
end

#macString

The hash-based message authentication code (HMAC) that was generated for the specified message, HMAC KMS key, and MAC algorithm.

This is the standard, raw HMAC defined in [RFC 2104].

[1]: datatracker.ietf.org/doc/html/rfc2104

Returns:

  • (String)


3174
3175
3176
3177
3178
3179
3180
# File 'lib/aws-sdk-kms/types.rb', line 3174

class GenerateMacResponse < Struct.new(
  :mac,
  :mac_algorithm,
  :key_id)
  SENSITIVE = []
  include Aws::Structure
end

#mac_algorithmString

The MAC algorithm that was used to generate the HMAC.

Returns:

  • (String)


3174
3175
3176
3177
3178
3179
3180
# File 'lib/aws-sdk-kms/types.rb', line 3174

class GenerateMacResponse < Struct.new(
  :mac,
  :mac_algorithm,
  :key_id)
  SENSITIVE = []
  include Aws::Structure
end