EncryptedFile
Defined in: src/@types/media.ts:26
Information on encrypted media attachments.
Used within m.room.message events that reference files, such as m.file and m.image.
https://spec.matrix.org/v1.11/client-server-api/#extensions-to-mroommessage-msgtypes
Properties
Section titled “Properties”hashes
Section titled “hashes”hashes:
object
Defined in: src/@types/media.ts:49
A map from an algorithm name to a hash of the ciphertext, encoded as unpadded base64.
Clients should support the SHA-256 hash, which uses the key sha256.
Index Signature
Section titled “Index Signature”[alg: string]: string
iv:
string
Defined in: src/@types/media.ts:44
The 128-bit unique counter block used by AES-CTR, encoded as unpadded base64.
key:
object
Defined in: src/@types/media.ts:34
A JSON Web Key object.
alg:
string
ext:
boolean
k:
string
key_ops
Section titled “key_ops”key_ops:
string[]
kty:
string
url:
string
Defined in: src/@types/media.ts:30
The URL to the file.
v:
string
Defined in: src/@types/media.ts:53
Version of the encrypted attachment’s protocol. Must be v2.