class
Amazonite::Kms::GenerateMacResponse
- Amazonite::Kms::GenerateMacResponse
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
kms/generate_mac_response.crConstructors
- .new(pull : JSON::PullParser)
- .new(mac : Bytes | Nil = nil, mac_algorithm : MacAlgorithmSpec | Nil = nil, key_id : String | 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 operation.
-
#key_id=(key_id : String | Nil)
The HMAC KMS key used in the operation.
-
#mac : Bytes | Nil
The hash-based message authentication code (HMAC) that was generated for the specified message, HMAC KMS key, and MAC algorithm.
-
#mac=(mac : Bytes | Nil)
The hash-based message authentication code (HMAC) that was generated for the specified message, HMAC KMS key, and MAC algorithm.
-
#mac_algorithm : MacAlgorithmSpec | Nil
The MAC algorithm that was used to generate the HMAC.
-
#mac_algorithm=(mac_algorithm : MacAlgorithmSpec | Nil)
The MAC algorithm that was used to generate the HMAC.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
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.
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.
The MAC algorithm that was used to generate the HMAC.