summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Suhren <suhren.stefan@fh-swf.de>2015-09-28 22:30:19 +0200
committerStefan Suhren <suhren.stefan@fh-swf.de>2015-09-28 22:36:25 +0200
commit06c1a86681cb7f315fdb25f1844d0043a53febf5 (patch)
tree724176fa84c6ccbfae1dd534e7d32654c8652ad4
parent41d3134c58a0c74bda82205fb7ba76086caaf718 (diff)
downloaddoc-06c1a86681cb7f315fdb25f1844d0043a53febf5.tar.gz
doc-06c1a86681cb7f315fdb25f1844d0043a53febf5.zip
Erzeuge Dateiformatgrafik
-rw-r--r--03-01Ueberblick.tex9
-rw-r--r--img/fileFormat/CryptLog.pngbin0 -> 41281 bytes
-rw-r--r--rawData/CryptLogFileFormat.svg377
3 files changed, 385 insertions, 1 deletions
diff --git a/03-01Ueberblick.tex b/03-01Ueberblick.tex
index 5a07735..fc863a5 100644
--- a/03-01Ueberblick.tex
+++ b/03-01Ueberblick.tex
@@ -1,6 +1,6 @@
\section{Technologieübersicht}
-\begin{figure}[htb]
+\begin{figure}[hbt]
\centering
\includegraphics[width=0.8\linewidth]{img/classDiagram/HybridCrypt.png}
\caption[HybridCrypt UML]{Die Verwendung und Abhängigkeiten von HybridCrypt.}
@@ -11,6 +11,13 @@
Die HybridCrypt macht die gesamte Schüssel Verwaltung und hat keinerlei Einfluss auf die GUI.
+\begin{figure}[hbt]
+ \centering
+ \includegraphics[width=0.8\linewidth]{img/fileFormat/CryptLog.png}
+ \caption[CryptLog Dateiformat]{Das Dateiformat von CryptLog für verschlüsselte Dateien.}
+ \label{fig:CryptLogFileFormat}
+\end{figure}
+
\subsection{CryptException}
Die Hauptfunktion Klasse, ist eine Fehlermeldung für den Nutzer und einen Exitcode für die Konsole zur Verfügung zu stellen. Der Fehlercode kommt aus dem ReturnCode \lstinline|enum|, welches darüber hinaus auch ermöglicht, den Fehlertyp jeder Instanz festzustellen.
diff --git a/img/fileFormat/CryptLog.png b/img/fileFormat/CryptLog.png
new file mode 100644
index 0000000..8e4ed42
--- /dev/null
+++ b/img/fileFormat/CryptLog.png
Binary files differ
diff --git a/rawData/CryptLogFileFormat.svg b/rawData/CryptLogFileFormat.svg
new file mode 100644
index 0000000..c38df99
--- /dev/null
+++ b/rawData/CryptLogFileFormat.svg
@@ -0,0 +1,377 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="297mm"
+ height="210mm"
+ viewBox="0 0 297 210"
+ id="svg4194"
+ version="1.1"
+ inkscape:version="0.91 r13725"
+ sodipodi:docname="Dateiformat.svg"
+ inkscape:export-filename="/home/aentfs/Documents/CryptLog/img/fileFormat/CryptLogFileFormat.png"
+ inkscape:export-xdpi="100"
+ inkscape:export-ydpi="100">
+ <defs
+ id="defs4196" />
+ <sodipodi:namedview
+ inkscape:document-units="mm"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="0.86831672"
+ inkscape:cx="489.33967"
+ inkscape:cy="496.75669"
+ inkscape:current-layer="layer1"
+ id="namedview4198"
+ showgrid="false"
+ inkscape:window-width="1920"
+ inkscape:window-height="1021"
+ inkscape:window-x="0"
+ inkscape:window-y="30"
+ inkscape:window-maximized="1" />
+ <metadata
+ id="metadata4200">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1">
+ <rect
+ style="fill:#ffffff;fill-rule:evenodd;stroke:#000000;stroke-width:0.31581649px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ id="rect3336"
+ width="282.59076"
+ height="39.256531"
+ x="6.9250016"
+ y="46.762051" />
+ <path
+ style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.49280742px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="m 241.71418,46.920042 c 0,38.510768 0,38.811637 0,38.811637"
+ id="path4158"
+ inkscape:connector-curvature="0" />
+ <path
+ style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.35444906px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="m 6.9818926,52.07138 282.6389074,0"
+ id="path4160"
+ inkscape:connector-curvature="0" />
+ <text
+ xml:space="preserve"
+ style="font-style:normal;font-weight:normal;font-size:4.23333359px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ x="248.78255"
+ y="50.821949"
+ id="text4162"
+ sodipodi:linespacing="125%"><tspan
+ sodipodi:role="line"
+ x="248.78255"
+ y="50.821949"
+ id="tspan4166">AES 256 - Daten</tspan></text>
+ <text
+ xml:space="preserve"
+ style="font-style:normal;font-weight:normal;font-size:4.23333311px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ x="243.73123"
+ y="57.166096"
+ id="text4230"
+ sodipodi:linespacing="125%"><tspan
+ sodipodi:role="line"
+ x="243.73123"
+ y="57.166096"
+ id="tspan4234">Dateiinhalt</tspan></text>
+ <text
+ xml:space="preserve"
+ style="font-style:normal;font-weight:normal;font-size:4.23333359px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ x="85.272461"
+ y="51.190639"
+ id="text4238"
+ sodipodi:linespacing="125%"><tspan
+ sodipodi:role="line"
+ id="tspan4240"
+ x="85.272461"
+ y="51.190639">Header</tspan></text>
+ <path
+ style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.35938689px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="m 26.832859,52.082786 0,33.920969"
+ id="path4242"
+ inkscape:connector-curvature="0" />
+ <text
+ xml:space="preserve"
+ style="font-style:normal;font-weight:normal;font-size:4.23333311px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ x="8.04389"
+ y="56.37183"
+ id="text4244"
+ sodipodi:linespacing="125%"><tspan
+ sodipodi:role="line"
+ id="tspan4246"
+ x="8.04389"
+ y="56.37183">Anzahl</tspan><tspan
+ sodipodi:role="line"
+ x="8.04389"
+ y="61.663498"
+ id="tspan4250">RSA-</tspan><tspan
+ sodipodi:role="line"
+ x="8.04389"
+ y="66.955162"
+ id="tspan4252">Blöcke</tspan></text>
+ <path
+ style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.35588583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="m 50.226812,52.095688 0,33.859468"
+ id="path4260"
+ inkscape:connector-curvature="0" />
+ <text
+ xml:space="preserve"
+ style="font-style:normal;font-weight:normal;font-size:4.23333311px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ x="27.626888"
+ y="56.350094"
+ id="text4262"
+ sodipodi:linespacing="125%"><tspan
+ sodipodi:role="line"
+ x="27.626888"
+ y="56.350094"
+ id="tspan4266">Anzahl</tspan><tspan
+ sodipodi:role="line"
+ x="27.626888"
+ y="61.641762"
+ id="tspan4272">Byte</tspan><tspan
+ sodipodi:role="line"
+ x="27.626888"
+ y="66.933426"
+ id="tspan4274">RSA-Block</tspan><tspan
+ sodipodi:role="line"
+ x="27.626888"
+ y="72.22509"
+ id="tspan4278">#1</tspan></text>
+ <text
+ xml:space="preserve"
+ style="font-style:normal;font-weight:normal;font-size:4.23333311px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ x="9.5881548"
+ y="81.941246"
+ id="text4280"
+ sodipodi:linespacing="125%"><tspan
+ sodipodi:role="line"
+ id="tspan4282"
+ x="9.5881548"
+ y="81.941246">qint32</tspan></text>
+ <text
+ xml:space="preserve"
+ style="font-style:normal;font-weight:normal;font-size:4.23333311px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ x="32.115677"
+ y="81.72345"
+ id="text4280-3"
+ sodipodi:linespacing="125%"><tspan
+ sodipodi:role="line"
+ id="tspan4282-9"
+ x="32.115677"
+ y="81.72345">qint32</tspan></text>
+ <text
+ xml:space="preserve"
+ style="font-style:normal;font-weight:normal;font-size:4.23333311px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ x="52.089153"
+ y="56.418316"
+ id="text4302"
+ sodipodi:linespacing="125%"><tspan
+ sodipodi:role="line"
+ id="tspan4304"
+ x="52.089153"
+ y="56.418316">RSA-Block #1</tspan></text>
+ <text
+ xml:space="preserve"
+ style="font-style:normal;font-weight:normal;font-size:4.23333311px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ x="51.636368"
+ y="62.362999"
+ id="text4306"
+ sodipodi:linespacing="125%"><tspan
+ sodipodi:role="line"
+ id="tspan4308"
+ x="51.636368"
+ y="62.362999">AES-</tspan><tspan
+ sodipodi:role="line"
+ x="51.636368"
+ y="67.654663"
+ id="tspan4310">Key</tspan></text>
+ <text
+ xml:space="preserve"
+ style="font-style:normal;font-weight:normal;font-size:4.23333311px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ x="72.343498"
+ y="62.226559"
+ id="text4312"
+ sodipodi:linespacing="125%"><tspan
+ sodipodi:role="line"
+ id="tspan4314"
+ x="72.343498"
+ y="62.226559">IV</tspan></text>
+ <text
+ xml:space="preserve"
+ style="font-style:normal;font-weight:normal;font-size:4.23333311px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ x="93.973587"
+ y="62.140957"
+ id="text4316"
+ sodipodi:linespacing="125%"><tspan
+ sodipodi:role="line"
+ id="tspan4318"
+ x="93.973587"
+ y="62.140957">PADDING</tspan><tspan
+ sodipodi:role="line"
+ x="93.973587"
+ y="67.432625"
+ id="tspan4320">PKCS1_OAEP</tspan></text>
+ <path
+ style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.35281983px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="m 71.373082,57.640809 0,28.375655"
+ id="path4324"
+ inkscape:connector-curvature="0" />
+ <path
+ style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.352534px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="m 92.902353,57.623065 0,28.329694"
+ id="path4326"
+ inkscape:connector-curvature="0" />
+ <path
+ style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.28222221px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="m 130.33391,52.039204 0,33.96482"
+ id="path4330"
+ inkscape:connector-curvature="0" />
+ <path
+ style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.28224263px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="m 50.18546,57.641492 80.12957,0"
+ id="path4332"
+ inkscape:connector-curvature="0" />
+ <path
+ style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.28222221px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="m 137.77021,51.880118 0,34.243986"
+ id="path4353"
+ inkscape:connector-curvature="0" />
+ <text
+ xml:space="preserve"
+ style="font-style:normal;font-weight:normal;font-size:4.23333311px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ x="131.91978"
+ y="68.951523"
+ id="text4355"
+ sodipodi:linespacing="125%"><tspan
+ sodipodi:role="line"
+ id="tspan4357"
+ x="131.91978"
+ y="68.951523">…</tspan></text>
+ <path
+ style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.35588583px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="m 161.29415,52.139994 0,33.859467"
+ id="path4260-6"
+ inkscape:connector-curvature="0" />
+ <text
+ xml:space="preserve"
+ style="font-style:normal;font-weight:normal;font-size:4.23333311px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ x="138.69469"
+ y="56.394421"
+ id="text4262-8"
+ sodipodi:linespacing="125%"><tspan
+ sodipodi:role="line"
+ x="138.69469"
+ y="56.394421"
+ id="tspan4266-0">Anzahl</tspan><tspan
+ sodipodi:role="line"
+ x="138.69469"
+ y="61.686089"
+ id="tspan4272-9">Byte</tspan><tspan
+ sodipodi:role="line"
+ x="138.69469"
+ y="66.977753"
+ id="tspan4274-0">RSA-Block</tspan><tspan
+ sodipodi:role="line"
+ x="138.69469"
+ y="72.269417"
+ id="tspan4278-2">#n</tspan></text>
+ <text
+ xml:space="preserve"
+ style="font-style:normal;font-weight:normal;font-size:4.23333311px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ x="143.18341"
+ y="81.767776"
+ id="text4280-3-4"
+ sodipodi:linespacing="125%"><tspan
+ sodipodi:role="line"
+ id="tspan4282-9-2"
+ x="143.18341"
+ y="81.767776">qint32</tspan></text>
+ <text
+ xml:space="preserve"
+ style="font-style:normal;font-weight:normal;font-size:4.23333311px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ x="163.15663"
+ y="56.462643"
+ id="text4302-6"
+ sodipodi:linespacing="125%"><tspan
+ sodipodi:role="line"
+ id="tspan4304-4"
+ x="163.15663"
+ y="56.462643">RSA-Block #n</tspan></text>
+ <text
+ xml:space="preserve"
+ style="font-style:normal;font-weight:normal;font-size:4.23333311px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ x="162.70384"
+ y="62.407326"
+ id="text4306-2"
+ sodipodi:linespacing="125%"><tspan
+ sodipodi:role="line"
+ id="tspan4308-2"
+ x="162.70384"
+ y="62.407326">AES-</tspan><tspan
+ sodipodi:role="line"
+ x="162.70384"
+ y="67.69899"
+ id="tspan4310-4">Key</tspan></text>
+ <text
+ xml:space="preserve"
+ style="font-style:normal;font-weight:normal;font-size:4.23333311px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ x="183.41071"
+ y="62.270885"
+ id="text4312-2"
+ sodipodi:linespacing="125%"><tspan
+ sodipodi:role="line"
+ id="tspan4314-4"
+ x="183.41071"
+ y="62.270885">IV</tspan></text>
+ <text
+ xml:space="preserve"
+ style="font-style:normal;font-weight:normal;font-size:4.23333311px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ x="205.04053"
+ y="62.185284"
+ id="text4316-1"
+ sodipodi:linespacing="125%"><tspan
+ sodipodi:role="line"
+ id="tspan4318-8"
+ x="205.04053"
+ y="62.185284">PADDING</tspan><tspan
+ sodipodi:role="line"
+ x="205.04053"
+ y="67.476952"
+ id="tspan4320-7">PKCS1_OAEP</tspan></text>
+ <path
+ style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.35281983px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="m 182.44027,57.685115 0,28.375656"
+ id="path4324-2"
+ inkscape:connector-curvature="0" />
+ <path
+ style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.352534px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="m 203.96949,57.667371 0,28.329694"
+ id="path4326-6"
+ inkscape:connector-curvature="0" />
+ <path
+ style="fill:none;fill-rule:evenodd;stroke:#000000;stroke-width:0.28274307px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="m 161.2528,57.685798 80.41375,0"
+ id="path4332-8"
+ inkscape:connector-curvature="0" />
+ </g>
+</svg>