EncryptRequest
EncryptResponse
Purpose
An EncryptRequest
instructs an encryption engine to encrypt data to a particular external identity, possibly using known reads_for relationships.
An EncryptResponse
contains the data encrypted by an encryption engine in response to an EncryptRequest.
Type
EncryptRequest
EncryptResponse
Behaviour
- Calls the
encrypt
method on the provided external identity and returns the result in an EncryptResponse
- If
useReadsFor
is true, use known reads_for relationships to select the most efficient external identity
- If
useReadsFor
is false, encrypt only to the provided identity
Message flow
sequenceDiagram
%% --8<-- [start:sequence]
Any Local Engine ->>+ EncryptionEngine: EncryptRequest
EncryptionEngine -->>- Any Local Engine: EncryptResponse
%% --8<-- [end:sequence]
(Wiki) links on this page