mirror of
https://github.com/Mojang/bedrock-protocol-docs.git
synced 2025-07-14 14:34:43 +00:00
53 lines
2.7 KiB
XML
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: "ServerToClientHandshakePacket", typeName: "", id: 0, branchId: 3, recurseId: -1, attributes: 0, notes: "" -->
|
|
<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: "Handshake WebToken", typeName: "", id: 1, branchId: 0, recurseId: -1, attributes: 0, notes: "Base64 encoded JSON Web Token that contains the other relevant client properties.
|
|
|
|
Properties Include:
|
|
|
|
'salt' = (for use in encryption)
|
|
|
|
The public key used to compute the shared secret for encryption is embedded in the header of the token. It's the signer public key (json value of 'x5u')" -->
|
|
<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->1 -->
|
|
<g id="edge1" class="edge">
|
|
<title>0->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: "string", typeName: "", id: 2, branchId: 0, recurseId: -1, attributes: 512, notes: "" -->
|
|
<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->2 -->
|
|
<g id="edge2" class="edge">
|
|
<title>1->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>
|