class
Amazonite::Kms::GenerateMacRequest
- Amazonite::Kms::GenerateMacRequest
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
kms/generate_mac_request.crConstructors
- .new(message : Bytes, key_id : String, mac_algorithm : MacAlgorithmSpec, 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 HMAC KMS key to use in the operation.
-
#key_id=(key_id : String)
The HMAC KMS key to use in the operation.
-
#mac_algorithm : MacAlgorithmSpec
The MAC algorithm used in the operation.
-
#mac_algorithm=(mac_algorithm : MacAlgorithmSpec)
The MAC algorithm used in the operation.
-
#message : Bytes
The message to be hashed.
-
#message=(message : Bytes)
The message to be hashed.
- #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 HMAC KMS key to use in the operation. The MAC algorithm computes the HMAC for the message and the key as described in RFC 2104.
To identify an HMAC KMS key, use the DescribeKey operation and see the KeySpec field in the
response.
The HMAC KMS key to use in the operation. The MAC algorithm computes the HMAC for the message and the key as described in RFC 2104.
To identify an HMAC KMS key, use the DescribeKey operation and see the KeySpec field in the
response.
The MAC algorithm used in the operation.
The algorithm must be compatible with the HMAC KMS key that you specify. To find the MAC
algorithms that your HMAC KMS key supports, use the DescribeKey operation and see the
MacAlgorithms field in the DescribeKey response.
The MAC algorithm used in the operation.
The algorithm must be compatible with the HMAC KMS key that you specify. To find the MAC
algorithms that your HMAC KMS key supports, use the DescribeKey operation and see the
MacAlgorithms field in the DescribeKey response.
The message to be hashed. Specify a message of up to 4,096 bytes.
GenerateMac and VerifyMac do not provide special handling for message digests. If you generate
an HMAC for a hash digest of a message, you must verify the HMAC of the same hash digest.
The message to be hashed. Specify a message of up to 4,096 bytes.
GenerateMac and VerifyMac do not provide special handling for message digests. If you generate
an HMAC for a hash digest of a message, you must verify the HMAC of the same hash digest.