class Amazonite::Kms::GenerateMacResponse

Included Modules

Defined in:

kms/generate_mac_response.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(mac : Bytes | Nil = nil, mac_algorithm : MacAlgorithmSpec | Nil = nil, key_id : String | Nil = nil) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def key_id : String | Nil #

The HMAC KMS key used in the operation.


[View source]
def key_id=(key_id : String | Nil) #

The HMAC KMS key used in the operation.


[View source]
def mac : Bytes | Nil #

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.


[View source]
def mac=(mac : Bytes | Nil) #

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.


[View source]
def mac_algorithm : MacAlgorithmSpec | Nil #

The MAC algorithm that was used to generate the HMAC.


[View source]
def mac_algorithm=(mac_algorithm : MacAlgorithmSpec | Nil) #

The MAC algorithm that was used to generate the HMAC.


[View source]
def validate! : Nil #

[View source]