DecryptRequest¶
DecryptResponse¶
Purpose¶
A DecryptRequest
instructs a decryption engine instance to decrypt data as the internal identity corresponding to that engine instance.
A DecryptResponse
contains the data decrypted by a decryption engine instance in response to a DecryptRequest.
Type¶
DecryptRequest DecryptResponse
Behavior¶
- Uses the
decrypt
method on the correspondingDecryptor
to decrypt the ciphertext- Depending on the backend, this may involve I/O to an external device.
- Returns the commitment in a DecryptResponse.
Message flow¶
sequenceDiagram
%% --8<-- [start:sequence]
Any Local Engine ->>+ DecryptionEngine: DecryptRequest
DecryptionEngine -->>- Any Local Engine: DecryptResponse
%% --8<-- [end:sequence]