Class EncryptedFile
- java.lang.Object
-
- io.github.ma1uta.matrix.event.nested.EncryptedFile
-
public class EncryptedFile extends Object
Encrypted file.
-
-
Field Detail
-
url
private String url
Required. The URL to the file.
-
key
private JWK key
Required. A JSON Web Key object.
-
iv
private String iv
Required. The Initialisation Vector used by AES-CTR, encoded as unpadded base64.
-
hashes
private Map<String,String> hashes
Required. 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.
-
version
private String version
Required. Version of the encrypted attachments protocol. Must be v2.
-
-