Class: Aws::KMS::Types::EncryptResponse

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-kms/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#ciphertext_blobString

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

Returns:

  • (String)


2214
2215
2216
2217
2218
2219
2220
# File 'lib/aws-sdk-kms/types.rb', line 2214

class EncryptResponse < Struct.new(
  :ciphertext_blob,
  :key_id,
  :encryption_algorithm)
  SENSITIVE = []
  include Aws::Structure
end

#encryption_algorithmString

The encryption algorithm that was used to encrypt the plaintext.

Returns:

  • (String)


2214
2215
2216
2217
2218
2219
2220
# File 'lib/aws-sdk-kms/types.rb', line 2214

class EncryptResponse < Struct.new(
  :ciphertext_blob,
  :key_id,
  :encryption_algorithm)
  SENSITIVE = []
  include Aws::Structure
end

#key_idString

The Amazon Resource Name ([key ARN]) of the KMS key that was used to encrypt the plaintext.

[1]: docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN

Returns:

  • (String)


2214
2215
2216
2217
2218
2219
2220
# File 'lib/aws-sdk-kms/types.rb', line 2214

class EncryptResponse < Struct.new(
  :ciphertext_blob,
  :key_id,
  :encryption_algorithm)
  SENSITIVE = []
  include Aws::Structure
end