aboutsummaryrefslogtreecommitdiff
path: root/slides/2021-pets/img/ct.tex
diff options
context:
space:
mode:
authorRasmus Dahlberg <rasmus@rgdd.se>2024-10-15 15:35:20 +0200
committerRasmus Dahlberg <rasmus@rgdd.se>2024-10-15 15:35:45 +0200
commit76bae02bcd7d6b3ec9eea428e5e95da184a8dbfb (patch)
tree410ab71c78c99d35aecd46733958a5699cdf5204 /slides/2021-pets/img/ct.tex
parent883a67439aff566962adafeb0385c6ae972073a3 (diff)
Rescue some slides from old private mono repos
Diffstat (limited to 'slides/2021-pets/img/ct.tex')
-rw-r--r--slides/2021-pets/img/ct.tex72
1 files changed, 72 insertions, 0 deletions
diff --git a/slides/2021-pets/img/ct.tex b/slides/2021-pets/img/ct.tex
new file mode 100644
index 0000000..ae1213c
--- /dev/null
+++ b/slides/2021-pets/img/ct.tex
@@ -0,0 +1,72 @@
+\begin{tikzpicture}[
+ -latex,
+ entity/.style = {
+ draw = gray!30,
+ thick,
+ rounded rectangle,
+ fill = white,
+ minimum width = 2cm,
+ font = \fontsize{8}{8}\selectfont,
+ text = white,
+ },
+ relation/.style = {
+ draw = none,
+ font = \fontsize{6}{6}\selectfont,
+ },
+ path/.style = {
+ draw,
+ thick,
+ -latex,
+ },
+]
+ \node[entity, fill=darkBlue] (Log) at (0,0) { Log };
+ \node[entity, fill=darkGreen, below=1.5cm of Log] (Browser) {Browser};
+ \node[entity, fill=darkOrange, left=1.5cm of Log] (CA) {CA};
+ \node[entity, fill=darkRed, below=1.5cm of CA] (Website) {Website};
+
+ % Logging
+ \path[path] (CA) edge[bend left]
+ node[relation,right,below]{Certificate}
+ (Log);
+ \path[path] (Log) edge[bend left]
+ node[relation,left,above]{Proofs}
+ (CA);
+
+ % Distribution
+ \path[path] (CA) --
+ node[relation, below, sloped]{%
+ \begin{tabular}{c}
+ Certificate\\
+ Proofs \\
+ \end{tabular}
+ }
+ (Website);
+
+
+ % Serve
+ \path[path] (Website) --
+ node[relation, below] {
+ \begin{tabular}{c}
+ Certificate\\
+ Proofs \\
+ \end{tabular}
+ }
+ (Browser);
+
+ % Monitor
+ \path[path, dashed] (Website.15) --
+ node[relation]{%
+ \includegraphics[width=.8cm]{img/magnify}
+ }
+ (Log.290);
+
+ % Verify
+ \path[path, rounded corners]
+ (Browser.0) -|
+ ($ (Browser) + (1.25,.75) $)
+ node[relation, above]{
+ Verify
+ } -|
+ (Browser.30);
+
+\end{tikzpicture}