exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

keys.tex (1874B)


      1   \begin{figure}[th]
      2     \begin{minipage}[b]{0.45\linewidth}
      3       \begin{center}
      4 	\begin{tikzpicture}[scale = 0.4,
      5             transform shape,
      6             msglabel/.style    = { text = Black, yshift = .3cm,
      7                                    sloped, midway },
      8             okmsg/.style       = { ->, color = MidnightBlue, thick,
      9                                    >=stealth },
     10             rstmsg/.style      = { ->, color = BrickRed, thick,
     11                                    >=stealth }
     12 	  ]
     13 	  \node[draw = MidnightBlue,
     14 	    fill = CornflowerBlue,
     15 	    minimum width = .3cm,
     16 	    minimum height = 10cm
     17 	  ] (h1) at (-4, 0) {};
     18 	  \node[draw = MidnightBlue,
     19 	    fill = CornflowerBlue,
     20 	    minimum width = .3cm,
     21 	    minimum height = 10cm
     22 	  ] (h2) at (4, 0) {};
     23 	  \node[above = 0cm of h1] {Wallet};
     24 	  \node[above = 0cm of h2] {Exchange};
     25 
     26 	  \path[->, color = MidnightBlue, very thick, >=stealth]
     27 	    (-5, 4.5) edge
     28 	    node[rotate=90, text = Black, yshift = .3cm] {Time}
     29 	    (-5, -4.5);
     30 	  \path[->, color = MidnightBlue, thick, >=stealth]
     31 	    ($(h1.east)+(0,3)$) edge
     32 	    node[text = Black, yshift = .3cm, sloped] {GET {\tt /keys}}
     33 	    ($(h2.west)+(0,2)$);
     34 	  \path[->, color = MidnightBlue, thick, >=stealth]
     35 	    ($(h2.west)+(0,0.5)$) edge
     36 	    node[text = Black, yshift = .3cm, sloped] {200 OK: $S_T(DK,A_{DK},M), S_M(SK)$}
     37 	    ($(h1.east)+(0,-0.5)$);
     38 	  \node at (5.3, 0) {};
     39 	\end{tikzpicture}
     40       \end{center}
     41     \end{minipage}
     42     \hspace{0.4cm}
     43     \begin{minipage}[b]{0.45\linewidth}
     44       \tiny
     45       \begin{description}
     46       \item[$T$] financial regulator key Necessarily pinned
     47       \item[$DK$] RSA public key (``denomination key'')
     48       \item[$A_{DK}$] Value of coins signed by $DK$
     49       \item[$M$] Offline master key of exchange
     50       \item[$SK$] Online signing key of exchange
     51       \end{description}
     52     \end{minipage}
     53   \end{figure}
     54