class
Amazonite::Kms::VerifyMacResponse
- Amazonite::Kms::VerifyMacResponse
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
kms/verify_mac_response.crConstructors
- .new(pull : JSON::PullParser)
- .new(key_id : String | Nil = nil, mac_valid : Bool | Nil = nil, mac_algorithm : MacAlgorithmSpec | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#hash(hasher)
See
Object#hash(hasher) -
#key_id : String | Nil
The HMAC KMS key used in the verification.
-
#key_id=(key_id : String | Nil)
The HMAC KMS key used in the verification.
-
#mac_algorithm : MacAlgorithmSpec | Nil
The MAC algorithm used in the verification.
-
#mac_algorithm=(mac_algorithm : MacAlgorithmSpec | Nil)
The MAC algorithm used in the verification.
-
#mac_valid : Bool | Nil
A Boolean value that indicates whether the HMAC was verified.
-
#mac_valid=(mac_valid : Bool | Nil)
A Boolean value that indicates whether the HMAC was verified.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The MAC algorithm used in the verification.
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.
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.