Class: Aws::KMS::Types::VerifyMacResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::KMS::Types::VerifyMacResponse
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-kms/types.rb
Overview
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#key_id ⇒ String
The HMAC KMS key used in the verification.
-
#mac_algorithm ⇒ String
The MAC algorithm used in the verification.
-
#mac_valid ⇒ Boolean
A Boolean value that indicates whether the HMAC was verified.
Instance Attribute Details
#key_id ⇒ String
The HMAC KMS key used in the verification.
6509 6510 6511 6512 6513 6514 6515 |
# File 'lib/aws-sdk-kms/types.rb', line 6509 class VerifyMacResponse < Struct.new( :key_id, :mac_valid, :mac_algorithm) SENSITIVE = [] include Aws::Structure end |
#mac_algorithm ⇒ String
The MAC algorithm used in the verification.
6509 6510 6511 6512 6513 6514 6515 |
# File 'lib/aws-sdk-kms/types.rb', line 6509 class VerifyMacResponse < Struct.new( :key_id, :mac_valid, :mac_algorithm) SENSITIVE = [] include Aws::Structure end |
#mac_valid ⇒ Boolean
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.
6509 6510 6511 6512 6513 6514 6515 |
# File 'lib/aws-sdk-kms/types.rb', line 6509 class VerifyMacResponse < Struct.new( :key_id, :mac_valid, :mac_algorithm) SENSITIVE = [] include Aws::Structure end |