mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-08-04 23:17:48 +02:00
Compare commits
2 commits
7fff7a78fd
...
e3f6bc4feb
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e3f6bc4feb | ||
|
|
538671ded1 |
|
|
@ -45,6 +45,7 @@ properties:
|
||||||
example: A256CTR
|
example: A256CTR
|
||||||
k:
|
k:
|
||||||
type: string
|
type: string
|
||||||
|
format: mx-urlsafe-unpadded-base64
|
||||||
description: The key, encoded as [URL-safe unpadded Base64](/appendices/#url-safe-unpadded-base64).
|
description: The key, encoded as [URL-safe unpadded Base64](/appendices/#url-safe-unpadded-base64).
|
||||||
example: "aWF6-32KGYaC3A_FEUCk1Bt0JA37zP0wrStgmdCaW-0"
|
example: "aWF6-32KGYaC3A_FEUCk1Bt0JA37zP0wrStgmdCaW-0"
|
||||||
ext:
|
ext:
|
||||||
|
|
@ -59,6 +60,7 @@ properties:
|
||||||
- ext
|
- ext
|
||||||
iv:
|
iv:
|
||||||
type: string
|
type: string
|
||||||
|
format: mx-unpadded-base64
|
||||||
description: The 128-bit unique counter block used by AES-CTR, encoded as [unpadded Base64](/appendices/#unpadded-base64).
|
description: The 128-bit unique counter block used by AES-CTR, encoded as [unpadded Base64](/appendices/#unpadded-base64).
|
||||||
example: "w+sE15fzSc0AAAAAAAAAAA"
|
example: "w+sE15fzSc0AAAAAAAAAAA"
|
||||||
hashes:
|
hashes:
|
||||||
|
|
@ -69,6 +71,7 @@ properties:
|
||||||
properties:
|
properties:
|
||||||
sha256:
|
sha256:
|
||||||
type: string
|
type: string
|
||||||
|
format: mx-unpadded-base64
|
||||||
description: The hash of the ciphertext. encoded as [unpadded Base64](/appendices/#unpadded-base64).
|
description: The hash of the ciphertext. encoded as [unpadded Base64](/appendices/#unpadded-base64).
|
||||||
example: "fdSLu/YkRx3Wyh3KQabP3rd6+SFiKg5lsJZQHtkSAYA"
|
example: "fdSLu/YkRx3Wyh3KQabP3rd6+SFiKg5lsJZQHtkSAYA"
|
||||||
required: ['sha256']
|
required: ['sha256']
|
||||||
|
|
|
||||||
|
|
@ -71,6 +71,11 @@ mx-unpadded-base64:
|
||||||
url: appendices#unpadded-base64
|
url: appendices#unpadded-base64
|
||||||
# no regex
|
# no regex
|
||||||
|
|
||||||
|
mx-urlsafe-unpadded-base64:
|
||||||
|
title: URL-safe unpadded Base64
|
||||||
|
url: appendices/#url-safe-unpadded-base64
|
||||||
|
# no regex
|
||||||
|
|
||||||
uri:
|
uri:
|
||||||
title: URI
|
title: URI
|
||||||
url: https://datatracker.ietf.org/doc/html/rfc3986
|
url: https://datatracker.ietf.org/doc/html/rfc3986
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue