class
Amazonite::Kms::VerifyMacRequest
- Amazonite::Kms::VerifyMacRequest
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
kms/verify_mac_request.crConstructors
- .new(message : Bytes, key_id : String, mac_algorithm : MacAlgorithmSpec, mac : Bytes, grant_tokens : Array(String) | Nil = nil, dry_run : Bool | Nil = nil)
- .new(pull : JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#dry_run : Bool | Nil
Checks if your request will succeed.
-
#dry_run=(dry_run : Bool | Nil)
Checks if your request will succeed.
-
#grant_tokens : Array(String) | Nil
A list of grant tokens.
-
#grant_tokens=(grant_tokens : Array(String) | Nil)
A list of grant tokens.
-
#hash(hasher)
See
Object#hash(hasher) -
#key_id : String
The KMS key that will be used in the verification.
-
#key_id=(key_id : String)
The KMS key that will be used in the verification.
-
#mac : Bytes
The HMAC to verify.
-
#mac=(mac : Bytes)
The HMAC to verify.
-
#mac_algorithm : MacAlgorithmSpec
The MAC algorithm that will be used in the verification.
-
#mac_algorithm=(mac_algorithm : MacAlgorithmSpec)
The MAC algorithm that will be used in the verification.
-
#message : Bytes
The message that will be used in the verification.
-
#message=(message : Bytes)
The message that will be used in the verification.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
Checks if your request will succeed. DryRun is an optional parameter.
To learn more about how to use this parameter, see Testing your permissions in the Key Management Service Developer Guide.
Checks if your request will succeed. DryRun is an optional parameter.
To learn more about how to use this parameter, see Testing your permissions in the Key Management Service Developer Guide.
A list of grant tokens.
Use a grant token when your permission to call this operation comes from a new grant that has not yet achieved eventual consistency. For more information, see Grant token and Using a grant token in the Key Management Service Developer Guide.
A list of grant tokens.
Use a grant token when your permission to call this operation comes from a new grant that has not yet achieved eventual consistency. For more information, see Grant token and Using a grant token in the Key Management Service Developer Guide.
The KMS key that will be used in the verification.
Enter a key ID of the KMS key that was used to generate the HMAC. If you identify a different
KMS key, the VerifyMac operation fails.
The KMS key that will be used in the verification.
Enter a key ID of the KMS key that was used to generate the HMAC. If you identify a different
KMS key, the VerifyMac operation fails.
The HMAC to verify. Enter the HMAC that was generated by the GenerateMac operation when you specified the same message, HMAC KMS key, and MAC algorithm as the values specified in this request.
The HMAC to verify. Enter the HMAC that was generated by the GenerateMac operation when you specified the same message, HMAC KMS key, and MAC algorithm as the values specified in this request.
The MAC algorithm that will be used in the verification. Enter the same MAC algorithm that was
used to compute the HMAC. This algorithm must be supported by the HMAC KMS key identified by the
KeyId parameter.
The MAC algorithm that will be used in the verification. Enter the same MAC algorithm that was
used to compute the HMAC. This algorithm must be supported by the HMAC KMS key identified by the
KeyId parameter.
The message that will be used in the verification. Enter the same message that was used to generate the HMAC.
GenerateMac and VerifyMac do not provide special handling for message digests. If you
generated an HMAC for a hash digest of a message, you must verify the HMAC for the same hash
digest.
The message that will be used in the verification. Enter the same message that was used to generate the HMAC.
GenerateMac and VerifyMac do not provide special handling for message digests. If you
generated an HMAC for a hash digest of a message, you must verify the HMAC for the same hash
digest.