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)

1897
1898
1899
1900
1901
1902
1903
# File 'lib/aws-sdk-kms/types.rb', line 1897

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)

1897
1898
1899
1900
1901
1902
1903
# File 'lib/aws-sdk-kms/types.rb', line 1897

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)

1897
1898
1899
1900
1901
1902
1903
# File 'lib/aws-sdk-kms/types.rb', line 1897

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