class Amazonite::Kms::VerifyMacResponse

Included Modules

Defined in:

kms/verify_mac_response.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(key_id : String | Nil = nil, mac_valid : Bool | Nil = nil, mac_algorithm : MacAlgorithmSpec | 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 verification.


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

The HMAC KMS key used in the verification.


[View source]
def mac_algorithm : MacAlgorithmSpec | Nil #

The MAC algorithm used in the verification.


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

The MAC algorithm used in the verification.


[View source]
def mac_valid : Bool | Nil #

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.


[View source]
def mac_valid=(mac_valid : Bool | Nil) #

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.


[View source]
def validate! : Nil #

[View source]