Skip to content

DecapsulateResponse

Source code in docs_src/capo_kms/types/decapsulate_response.py
class DecapsulateResponse(TypedDict, closed=True):
    key_id: NotRequired["capo_kms.types.key_id_type.KeyIdType"]
    """<p>The identifier of the ML-KEM KMS key used to decapsulate the shared secret.</p>"""
    shared_secret: NotRequired["capo_kms.types.plaintext_type.PlaintextType"]
    """<p>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.</p>"""
    encapsulation_algorithm: NotRequired[
        "capo_kms.types.encapsulation_algorithm_spec.EncapsulationAlgorithmSpec"
    ]
    """<p>The key encapsulation algorithm used to recover the shared secret.</p>"""

encapsulation_algorithm instance-attribute

encapsulation_algorithm: NotRequired[EncapsulationAlgorithmSpec]

The key encapsulation algorithm used to recover the shared secret.

key_id instance-attribute

key_id: NotRequired[KeyIdType]

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

shared_secret instance-attribute

shared_secret: NotRequired[PlaintextType]

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.