class Amazonite::Kms::VerifyResponse

Included Modules

Defined in:

kms/verify_response.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(key_id : String | Nil = nil, signature_valid : Bool | Nil = nil, signing_algorithm : SigningAlgorithmSpec | 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 Amazon Resource Name (key ARN) of the asymmetric KMS key that was used to verify the signature.


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

The Amazon Resource Name (key ARN) of the asymmetric KMS key that was used to verify the signature.


[View source]
def signature_valid : Bool | Nil #

A Boolean value that indicates whether the signature was verified. A value of True indicates that the Signature was produced by signing the Message with the specified KeyID and SigningAlgorithm. If the signature is not verified, the Verify operation fails with a KMSInvalidSignatureException exception.


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

A Boolean value that indicates whether the signature was verified. A value of True indicates that the Signature was produced by signing the Message with the specified KeyID and SigningAlgorithm. If the signature is not verified, the Verify operation fails with a KMSInvalidSignatureException exception.


[View source]
def signing_algorithm : SigningAlgorithmSpec | Nil #

The signing algorithm that was used to verify the signature.


[View source]
def signing_algorithm=(signing_algorithm : SigningAlgorithmSpec | Nil) #

The signing algorithm that was used to verify the signature.


[View source]
def validate! : Nil #

[View source]