class Amazonite::Kms::RecipientInfo

Overview

Contains information about the party that receives the response from the API operation.

This data type is designed to support Amazon Web Services Nitro Enclaves and Amazon Web Services NitroTPM, which lets you create an attested environment in Amazon EC2. For information about the interaction between KMS and Amazon Web Services Nitro Enclaves or Amazon Web Services NitroTPM, see Cryptographic attestation support in KMS in the Key Management Service Developer Guide.

Included Modules

Defined in:

kms/recipient_info.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(key_encryption_algorithm : KeyEncryptionMechanism | Nil = nil, attestation_document : Bytes | 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 attestation_document : Bytes | Nil #

The attestation document for an Amazon Web Services Nitro Enclave or a NitroTPM. This document includes the enclave's public key.


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

The attestation document for an Amazon Web Services Nitro Enclave or a NitroTPM. This document includes the enclave's public key.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def key_encryption_algorithm : KeyEncryptionMechanism | Nil #

The encryption algorithm that KMS should use with the public key for an Amazon Web Services Nitro Enclave or NitroTPM to encrypt plaintext values for the response. The only valid value is RSAES_OAEP_SHA_256.


[View source]
def key_encryption_algorithm=(key_encryption_algorithm : KeyEncryptionMechanism | Nil) #

The encryption algorithm that KMS should use with the public key for an Amazon Web Services Nitro Enclave or NitroTPM to encrypt plaintext values for the response. The only valid value is RSAES_OAEP_SHA_256.


[View source]
def validate! : Nil #

[View source]