deposit.tex (2328B)
1 2 \begin{figure}[th] 3 \begin{minipage}[b]{0.45\linewidth} 4 \begin{center} 5 \begin{tikzpicture}[scale = 0.4, 6 transform shape, 7 msglabel/.style = { text = Black, yshift = .3cm, 8 sloped, midway }, 9 okmsg/.style = { ->, color = MidnightBlue, thick, 10 >=stealth }, 11 rstmsg/.style = { ->, color = BrickRed, thick, 12 >=stealth } 13 ] 14 \node[draw = MidnightBlue, 15 fill = CornflowerBlue, 16 minimum width = .3cm, 17 minimum height = 10cm 18 ] (h1) at (-4, 0) {}; 19 \node[draw = MidnightBlue, 20 fill = CornflowerBlue, 21 minimum width = .3cm, 22 minimum height = 10cm 23 ] (h2) at (4, 0) {}; 24 \node[above = 0cm of h1] {Merchant}; 25 \node[above = 0cm of h2] {Exchange}; 26 27 \path[->, color = MidnightBlue, very thick, >=stealth] 28 (-5, 4.5) edge 29 node[rotate=90, text = Black, yshift = .3cm] {Time} 30 (-5, -4.5); 31 \path[->, color = MidnightBlue, thick, >=stealth] 32 ($(h1.east)+(0,3)$) edge 33 node[text = Black, yshift = .3cm, sloped] {$S_{DK}(C), S_{c}(D)$} 34 ($(h2.west)+(0,2)$); 35 \path[->, color = MidnightBlue, thick, >=stealth] 36 ($(h2.west)+(0,0.5)$) edge 37 node[text = Black, yshift = .3cm, sloped] {200 OK: $S_{SK}(S_{c}(D))$} 38 ($(h1.east)+(0,-0.5)$); 39 \path[rstmsg] 40 ($(h2.west)+(0, -2.5)$) edge 41 node[msglabel] {409 CONFLICT: $S_{c}(D')$} 42 ($(h1.east)+(0, -3.5)$); 43 \node at (5.3, 0) {}; 44 \end{tikzpicture} 45 \end{center} 46 \end{minipage} 47 \hspace{0.5cm} 48 \begin{minipage}[b]{0.45\linewidth} 49 \tiny 50 \begin{description} 51 \item[$DK$] Denomination key 52 \item[$S_{DK}()$] RSA-FDH signature using $DK$ 53 \item[$c$] Private coin key, $C := cG$. 54 \item[$S_{C}()$] EdDSA signature using $c$ 55 \item[$D$] Deposit details 56 \item[$SK$] Exchange's signing key 57 \item[$S_{SK}()$] EdDSA signature using $SK$ 58 \item[$D'$] Conficting deposit details $D' \not= D$ 59 \end{description} 60 \end{minipage} 61 \end{figure} 62