You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#ciphertext_blobString

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

Returns:

  • (String)

    The encrypted plaintext.

#encryption_algorithmString

The encryption algorithm that was used to encrypt the plaintext.

Possible values:

  • SYMMETRIC_DEFAULT
  • RSAES_OAEP_SHA_1
  • RSAES_OAEP_SHA_256

Returns:

  • (String)

    The encryption algorithm that was used to encrypt the plaintext.

#key_idString

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

Returns:

  • (String)

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