1
0
mirror of https://github.com/Mojang/bedrock-protocol-docs.git synced 2025-09-19 02:19:50 +00:00
Files
bedrock-protocol-docs/html/ServerToClientHandshakePacket.html
2025-07-08 11:52:36 -07:00

12 lines
1.2 KiB
HTML

<!DOCTYPE html> <html> <head><style>table{font-family: arial, sans-serif;border-collapse: collapse;width: 100% ;}.tab { margin-left: 40px; }td, th{text-align: left;padding: 8px;}tr:nth-child(even) {background-color: #dddddd;}div#expand{display:block;}</style> </head> <body><h1>ServerToClientHandshakePacket (id: 3)</h1>
<table><col width="1%"><col width="99%"><tr><th></th><th></th></tr><tr><td> <b>Purpose:</b> </td>
<td>Server->Client Handshake</td>
</tr><tr><td> <b>Notes:</b> </td>
<td>Sent from the server at the end of the login packet</td>
</tr></table><br><h2>Payload</h2>
<img src="svg/ServerToClientHandshakePacket.svg" alt="ServerToClientHandshakePacket">
<br><br><br><table><col width="10%"><col width="10%"><col width="15%"><col width="80%"><tr><th>Field Name</th><th>Field Type</th><th>Field Constraints</th><th>Field Notes</th></tr><tr><td>Handshake WebToken</td>
<td>string</td>
<td></td>
<td>Base64 encoded JSON Web Token that contains the other relevant client properties.<br><br>Properties Include:<br><br>'salt' = (for use in encryption)<br><br>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')</td>
</tr></table></body> </html>