1
0
mirror of https://github.com/Mojang/bedrock-protocol-docs.git synced 2025-11-06 12:25:14 +00:00
Files
bedrock-protocol-docs/json/ServerToClientHandshakePacket.json

36 lines
1.3 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "1154491613",
"x-format-version": "MISSING VERSION",
"x-minecraft-version": "1.21.120",
"x-protocol-version": 859,
"definitions": {
"3712640948": {
"title": "ServerToClientHandshakePacketPayload",
"type": "object",
"properties": {
"Handshake WebToken": {
"description": "Base64 encoded JSON Web Token that contains the other relevant client properties.\n\nProperties Include:\n\n'salt' = (for use in encryption)\n\nThe 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')",
"type": "string",
"x-ordinal-index": 0
}
},
"required": [
"Handshake WebToken"
]
}
},
"title": "ServerToClientHandshakePacket",
"description": "Server->Client Handshake",
"type": "object",
"properties": {
"mPayload": {
"$ref": "#/definitions/3712640948",
"x-ordinal-index": 0
}
},
"$metaProperties": {
"[cereal:packet]": 3,
"[cereal:packet_details]": "Sent from the server at the end of the login packet"
}
}