Interface DecapsulateResponse.Builder

  • Method Details

    • keyId

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

      Parameters:
      keyId - The identifier of the ML-KEM KMS key used to decapsulate the shared secret.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sharedSecret

      DecapsulateResponse.Builder sharedSecret(SdkBytes sharedSecret)

      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.

      Parameters:
      sharedSecret - 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:
      Returns a reference to this object so that method calls can be chained together.
    • encapsulationAlgorithm

      DecapsulateResponse.Builder encapsulationAlgorithm(String encapsulationAlgorithm)

      The key encapsulation algorithm used to recover the shared secret.

      Parameters:
      encapsulationAlgorithm - The key encapsulation algorithm used to recover the shared secret.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • encapsulationAlgorithm

      DecapsulateResponse.Builder encapsulationAlgorithm(EncapsulationAlgorithmSpec encapsulationAlgorithm)

      The key encapsulation algorithm used to recover the shared secret.

      Parameters:
      encapsulationAlgorithm - The key encapsulation algorithm used to recover the shared secret.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: