Class: Aws::KMS::Types::DecapsulateResponse

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

Overview

Constant Summary collapse

SENSITIVE =
[:shared_secret]

Instance Attribute Summary collapse

Instance Attribute Details

#encapsulation_algorithm ⇒ String

The key encapsulation algorithm used to recover the shared secret.

Returns:

  • (String)


1719
1720
1721
1722
1723
1724
1725
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/types.rb', line 1719

class DecapsulateResponse < Struct.new(
  :key_id,
  :shared_secret,
  :encapsulation_algorithm)
  SENSITIVE = [:shared_secret]
  include Aws::Structure
end

#key_id ⇒ String

The identifier of the ML-KEM KMS key used to decapsulate the shared secret.

Returns:

  • (String)


1719
1720
1721
1722
1723
1724
1725
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/types.rb', line 1719

class DecapsulateResponse < Struct.new(
  :key_id,
  :shared_secret,
  :encapsulation_algorithm)
  SENSITIVE = [:shared_secret]
  include Aws::Structure
end

#shared_secret ⇒ String

The plaintext shared secret recovered from the encapsulated form. It is a 32-byte value that matches the shared secret held by the encapsulating party. 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)


1719
1720
1721
1722
1723
1724
1725
# File 'gems/aws-sdk-kms/lib/aws-sdk-kms/types.rb', line 1719

class DecapsulateResponse < Struct.new(
  :key_id,
  :shared_secret,
  :encapsulation_algorithm)
  SENSITIVE = [:shared_secret]
  include Aws::Structure
end