class Amazonite::Kms::ReEncryptResponse

Included Modules

Defined in:

kms/re_encrypt_response.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(ciphertext_blob : Bytes | Nil = nil, source_key_id : String | Nil = nil, key_id : String | Nil = nil, source_encryption_algorithm : EncryptionAlgorithmSpec | Nil = nil, destination_encryption_algorithm : EncryptionAlgorithmSpec | Nil = nil, source_key_material_id : String | Nil = nil, destination_key_material_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 ciphertext_blob : Bytes | Nil #

The reencrypted data. When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.


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

The reencrypted data. When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.


[View source]
def destination_encryption_algorithm : EncryptionAlgorithmSpec | Nil #

The encryption algorithm that was used to reencrypt the data.


[View source]
def destination_encryption_algorithm=(destination_encryption_algorithm : EncryptionAlgorithmSpec | Nil) #

The encryption algorithm that was used to reencrypt the data.


[View source]
def destination_key_material_id : String | Nil #

The identifier of the key material used to reencrypt the data. This field is present only when data is reencrypted using a symmetric encryption KMS key.


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

The identifier of the key material used to reencrypt the data. This field is present only when data is reencrypted using a symmetric encryption KMS key.


[View source]
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 KMS key that was used to reencrypt the data.


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

The Amazon Resource Name (key ARN) of the KMS key that was used to reencrypt the data.


[View source]
def source_encryption_algorithm : EncryptionAlgorithmSpec | Nil #

The encryption algorithm that was used to decrypt the ciphertext before it was reencrypted.


[View source]
def source_encryption_algorithm=(source_encryption_algorithm : EncryptionAlgorithmSpec | Nil) #

The encryption algorithm that was used to decrypt the ciphertext before it was reencrypted.


[View source]
def source_key_id : String | Nil #

Unique identifier of the KMS key used to originally encrypt the data.


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

Unique identifier of the KMS key used to originally encrypt the data.


[View source]
def source_key_material_id : String | Nil #

The identifier of the key material used to originally encrypt the data. This field is present only when the original encryption used a symmetric encryption KMS key.


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

The identifier of the key material used to originally encrypt the data. This field is present only when the original encryption used a symmetric encryption KMS key.


[View source]
def validate! : Nil #

[View source]