1
0
mirror of https://github.com/Mojang/bedrock-protocol-docs.git synced 2025-07-14 14:34:43 +00:00
Files
bedrock-protocol-docs/html/svg/ServerToClientHandshakePacket.svg
Oswaldo Leyva Barrientos 7ead0641a8 Removed irrelevant SVGs from PR
2025-05-21 13:32:09 -07:00

53 lines
2.7 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<!-- Generated by graphviz version 12.2.1 (20241206.2353)
-->
<!-- Title: ServerToClientHandshakePacket Pages: 1 -->
<svg width="597pt" height="44pt"
viewBox="0.00 0.00 596.93 44.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 40)">
<title>ServerToClientHandshakePacket</title>
<polygon fill="white" stroke="none" points="-4,4 -4,-40 592.93,-40 592.93,4 -4,4"/>
<!-- 0 -->
<!-- name: &quot;ServerToClientHandshakePacket&quot;, typeName: &quot;&quot;, id: 0, branchId: 3, recurseId: &#45;1, attributes: 0, notes: &quot;&quot; -->
<g id="node1" class="node">
<title>0</title>
<ellipse fill="none" stroke="black" cx="132.73" cy="-18" rx="132.73" ry="18"/>
<text text-anchor="middle" x="132.73" y="-12.95" font-family="Times New Roman,serif" font-size="14.00">ServerToClientHandshakePacket</text>
</g>
<!-- 1 -->
<!-- name: &quot;Handshake WebToken&quot;, typeName: &quot;&quot;, id: 1, branchId: 0, recurseId: &#45;1, attributes: 0, notes: &quot;Base64 encoded JSON Web Token that contains the other relevant client properties.
Properties Include:
&#39;salt&#39; = (for use in encryption)
The public key used to compute the shared secret for encryption is embedded in the header of the token. It&#39;s the signer public key (json value of &#39;x5u&#39;)&quot; -->
<g id="node2" class="node">
<title>1</title>
<ellipse fill="none" stroke="black" cx="395.29" cy="-18" rx="93.83" ry="18"/>
<text text-anchor="middle" x="395.29" y="-12.95" font-family="Times New Roman,serif" font-size="14.00">Handshake WebToken</text>
</g>
<!-- 0&#45;&gt;1 -->
<g id="edge1" class="edge">
<title>0&#45;&gt;1</title>
<path fill="none" stroke="black" d="M265.92,-18C273.87,-18 281.82,-18 289.64,-18"/>
<polygon fill="black" stroke="black" points="289.47,-21.5 299.47,-18 289.47,-14.5 289.47,-21.5"/>
</g>
<!-- 2 -->
<!-- name: &quot;string&quot;, typeName: &quot;&quot;, id: 2, branchId: 0, recurseId: &#45;1, attributes: 512, notes: &quot;&quot; -->
<g id="node3" class="node">
<title>2</title>
<ellipse fill="none" stroke="black" cx="557.02" cy="-18" rx="31.9" ry="18"/>
<text text-anchor="middle" x="557.02" y="-12.95" font-family="Times New Roman,serif" font-size="14.00">string</text>
</g>
<!-- 1&#45;&gt;2 -->
<g id="edge2" class="edge">
<title>1&#45;&gt;2</title>
<path fill="none" stroke="black" d="M489.21,-18C497.58,-18 505.77,-18 513.37,-18"/>
<polygon fill="black" stroke="black" points="513.27,-21.5 523.27,-18 513.27,-14.5 513.27,-21.5"/>
</g>
</g>
</svg>