trixnity
Toggle table of contents
5.2.0-SNAPSHOT.CI-20260302.101522
common
Target filter
common
Switch theme
Search in API
Skip to content
trixnity
trixnity-core
/
de.connect2x.trixnity.core.model.events.m.room
/
EncryptedFile
Encrypted
File
@
Serializable
data
class
EncryptedFile
(
val
url
:
String
,
val
key
:
EncryptedFile.JWK
,
val
initialisationVector
:
String
,
val
hashes
:
Map
<
String
,
String
>
,
val
version
:
String
=
"v2"
)
Members
Constructors
Encrypted
File
Link copied to clipboard
constructor
(
url
:
String
,
key
:
EncryptedFile.JWK
,
initialisationVector
:
String
,
hashes
:
Map
<
String
,
String
>
,
version
:
String
=
"v2"
)
Types
JWK
Link copied to clipboard
@
Serializable
data
class
JWK
(
val
key
:
String
,
val
keyType
:
String
=
"oct"
,
val
keyOperations
:
Set
<
String
>
=
setOf("encrypt", "decrypt")
,
val
algorithm
:
String
=
"A256CTR"
,
val
extractable
:
Boolean
=
true
)
Properties
hashes
Link copied to clipboard
@
SerialName
(
value
=
"hashes"
)
val
hashes
:
Map
<
String
,
String
>
initialisation
Vector
Link copied to clipboard
@
SerialName
(
value
=
"iv"
)
val
initialisationVector
:
String
key
Link copied to clipboard
@
SerialName
(
value
=
"key"
)
val
key
:
EncryptedFile.JWK
url
Link copied to clipboard
@
SerialName
(
value
=
"url"
)
val
url
:
String
version
Link copied to clipboard
@
SerialName
(
value
=
"v"
)
val
version
:
String