Open zanctor opened 10 months ago
If you have a two-way communication channel/transport then you could send a response with this status.
You can, but the response message will still lack the receiver
field, which should be taken from the sender
field in the decrypted request. Also, if we are talking about the PairRequestMessage
, it won't be possible to encrypt the response message, since the encryption key is also contained in the decrypted body.
fair point regarding decryption
todo: let's remove it
The
DECRYPTION_FAILED
value of theStatusEnum
is redundant, since we do not know a message sender before we decrypt the message, thus we do not know where to send theResult
with this status.