|
@@ -1 +1,43 @@
|
1
|
|
-# client
|
|
1
|
+# client
|
|
2
|
+
|
|
3
|
+```mermaid
|
|
4
|
+sequenceDiagram
|
|
5
|
+ participant Initiator
|
|
6
|
+ participant Alice
|
|
7
|
+ participant Bob
|
|
8
|
+
|
|
9
|
+ Initiator->>Blockchain: create meeting with id
|
|
10
|
+ Initiator-->>Internet: share meeting Id
|
|
11
|
+ loop
|
|
12
|
+ Initiator->>Blockchain: wait for pub. key for Alice and Bob
|
|
13
|
+ activate Blockchain
|
|
14
|
+ Blockchain--)Initiator: receive pub key [Alice, Bob]
|
|
15
|
+ deactivate Blockchain
|
|
16
|
+ end
|
|
17
|
+ par
|
|
18
|
+ Bob->>Internet: get meeting id
|
|
19
|
+ activate Internet
|
|
20
|
+ Internet--)Bob: receive meeting id
|
|
21
|
+ deactivate Internet
|
|
22
|
+ and
|
|
23
|
+ Alice->>Internet: get meeting id
|
|
24
|
+ activate Internet
|
|
25
|
+ Internet--)Alice: receive meeting id
|
|
26
|
+ deactivate Internet
|
|
27
|
+ end
|
|
28
|
+ par
|
|
29
|
+ Bob->>Blockchain: put temp public key for Bob
|
|
30
|
+ activate Blockchain
|
|
31
|
+ Blockchain--)Bob: Initiator public key
|
|
32
|
+ deactivate Blockchain
|
|
33
|
+ and
|
|
34
|
+ Alice->>Blockchain: put temp public key for Alice
|
|
35
|
+ activate Blockchain
|
|
36
|
+ Blockchain--)Alice: Initiator public key
|
|
37
|
+ deactivate Blockchain
|
|
38
|
+ end
|
|
39
|
+ Initiator-->>RelayServer: Olm message(symetric key) by Bob pub key
|
|
40
|
+ RelayServer-->>Bob: Olm message(symetric key) by Bob pub key
|
|
41
|
+ Initiator-->>RelayServer: Olm message(symetric key) by Alice pub key
|
|
42
|
+ RelayServer-->>Alice: Olm message(symetric key) by Alice pub key
|
|
43
|
+```
|