sequenceDiagram
participant B as Bob (sender)
participant S as server (queue RID)
participant A as Alice (recipient)
note over A: creating queue
("public" key RK
for msg retrieval)
A ->> S: 1. create queue ("NEW")
S ->> A: respond with queue RID and SID ("IDS")
note over A: out-of-band msg
(sender's queue SID
and "public" key EK
to encrypt msgs)
A -->> B: 2. send out-of-band message
note over B: confirm queue
("public" key SK for
sending messages
and any optional
info encrypted with
"public" key EK)
B ->> S: 3. confirm queue ("SEND" command not signed)
S ->> A: 4. deliver Bob's message
note over A: decrypt message
("private" key EK)
A ->> S: 5. secure queue ("KEY", RK-signed)
note over S: 6. simplex
queue RID
is ready to use!