Class: Aws::KMS::Types::VerifyMacResponse

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-kms/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 verification.

Returns:

  • (String)


5531
5532
5533
5534
5535
5536
5537
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/types.rb', line 5531

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

#mac_algorithmString

The MAC algorithm used in the verification.

Returns:

  • (String)


5531
5532
5533
5534
5535
5536
5537
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/types.rb', line 5531

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

#mac_validBoolean

A Boolean value that indicates whether the HMAC was verified. A value of True indicates that the HMAC (Mac) was generated with the specified Message, HMAC KMS key (KeyID) and MacAlgorithm..

If the HMAC is not verified, the VerifyMac operation fails with a KMSInvalidMacException exception. This exception indicates that one or more of the inputs changed since the HMAC was computed.

Returns:

  • (Boolean)


5531
5532
5533
5534
5535
5536
5537
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/types.rb', line 5531

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