summaryrefslogtreecommitdiff
path: root/doc/msc/rvi_protocol_flow.msc
diff options
context:
space:
mode:
authorUlf Wiger <ulf@feuerlabs.com>2016-01-29 20:18:41 +0100
committerUlf Wiger <ulf@feuerlabs.com>2016-01-29 20:18:41 +0100
commita4be6f9a8451b22fe3fead90c67c45cbb7fa50a2 (patch)
tree727e1e05c66fdcf66d3a8ed4b41020fcc6d328ad /doc/msc/rvi_protocol_flow.msc
parentbb155b37f90a34902c80061a9c337ed8a7597b35 (diff)
downloadrvi_core-a4be6f9a8451b22fe3fead90c67c45cbb7fa50a2.tar.gz
moved files to subdirs, w.i.p. on fragmentation
Diffstat (limited to 'doc/msc/rvi_protocol_flow.msc')
-rw-r--r--doc/msc/rvi_protocol_flow.msc32
1 files changed, 32 insertions, 0 deletions
diff --git a/doc/msc/rvi_protocol_flow.msc b/doc/msc/rvi_protocol_flow.msc
new file mode 100644
index 0000000..f4a84b3
--- /dev/null
+++ b/doc/msc/rvi_protocol_flow.msc
@@ -0,0 +1,32 @@
+#
+#
+# Sequence diagram description
+#
+# The sequence diagram description below is translated to
+# a PNG image by mscgen (http://www.mcternan.me.uk/mscgen/)
+#
+# Recompile updated diagrams to a png image with:
+#
+# mscgen -T png swm.msc
+#
+
+msc {
+ width="1024";
+ "Client", "Server";
+ "Client" -> "Server" [ label = "connect" ];
+ "Client" -> "Server" [ label = "TLS Upgrade using X.509 certificates" ];
+ "Client" -> "Server" [ label = "authorize( [JWT (credential, root_sign), ...] )" ];
+ "Server" abox "Server" [ label = "Validate each credential using root public key" ] ;
+ "Client" <- "Server" [ label = "authorize( [JWT (credential, root_sign), ...] ) )" ];
+ "Client" abox "Client" [ label = "Validate each crential using root public key" ] ;
+
+ "Client" abox "Client" [ label = "Create list of services matching server credentials" ] ;
+ "Client" -> "Server" [ label = "service_announce( [service_name, ... ])" ];
+ "Server" abox "Server" [ label = "Create list of services matching client credentials" ] ;
+ "Client" <- "Server" [ label = "service_announce( [service_name, ... ])" ];
+
+ "Client" -> "Server" [ label = "message( service_name, arguments)" ];
+
+ "Server" -> "Client" [ label = "message( service_name, arguments)" ];
+}
+