mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-23 19:44:09 +01:00
Explain what is meant by Signed JSON.
The explanation is copied from another place for consistency. There's now a link to the Signing JSON section of the spec.
This commit is contained in:
parent
73a7c7e70c
commit
6e4159bea2
|
|
@ -1257,10 +1257,10 @@ the following format:
|
|||
|
||||
`AuthData`
|
||||
|
||||
| Parameter | Type | Description |
|
||||
| -----------| -----------|--------------------------------------------------------------------------------------------------|
|
||||
| public_key | string | **Required.** The curve25519 public key used to encrypt the backups, encoded in unpadded base64. |
|
||||
| signatures | Signatures | Optional. Signatures of the ``auth_data``, as Signed JSON. |
|
||||
| Parameter | Type | Description |
|
||||
| -----------| -----------|-----------------------------------------------------------------------------------------------------------------------|
|
||||
| public_key | string | **Required.** The curve25519 public key used to encrypt the backups, encoded in unpadded base64. |
|
||||
| signatures | Signatures | *Optional.* Signatures of the ``auth_data``. The signature is calculated using the process described at Signing JSON. |
|
||||
|
||||
The `session_data` field in the backups is constructed as follows:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue