Migration services: Difference between revisions

Line 849: Line 849:
Data specific to each message follows.
Data specific to each message follows.


Messages are encrypted with AES-128-GCM (excluding the KeyExchange messages). The key is derived during the messsage-handling for KeyExchange.
Messages are encrypted with AES-128-GCM (excluding the [[#KeyExchange|KeyExchange]] messages). The key is derived during the messsage-handling for KeyExchange.


The message size must match the expected fixed-size for the MessageId.
The message size must match the expected fixed-size for the MessageId.
Line 855: Line 855:
Offsets in the below sections are relative to header+0.
Offsets in the below sections are relative to header+0.


=== Client ===
Message requests are sent by the client to the server, then (unless noted otherwise) a response with the same MessageId is sent to the client from the server. The first sent request is [[#KeyExchange|KeyExchange]].
This section documents messages sent from the client to the server.


{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! MessageId || Description
! MessageId (client/server) || Description
|-
|-
| 0x0 || [[#KeyExchange|KeyExchange]]
| 0x0 || [[#KeyExchange|KeyExchange]]
|}
|}


==== KeyExchange ====
=== KeyExchange ===
Request:
 
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
Line 875: Line 876:
|}
|}


=== Server ===
Response:
This section documents messages sent from the server to the client.
 
{| class="wikitable" border="1"
|-
! MessageId || Description
|-
| 0x0 || [[#KeyExchange_2|KeyExchange]]
|}


==== KeyExchange ====
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-