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

Class: Aws::KMS::Types::DecryptResponse

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

Overview

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#encryption_algorithmString

The encryption algorithm that was used to decrypt the ciphertext.

Possible values:

  • SYMMETRIC_DEFAULT
  • RSAES_OAEP_SHA_1
  • RSAES_OAEP_SHA_256

Returns:

  • (String)

    The encryption algorithm that was used to decrypt the ciphertext.

#key_idString

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

Returns:

  • (String)

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

#plaintextString

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

Returns:

  • (String)

    Decrypted plaintext data.