toggle menu
trixnity-core
4.3.0
common
switch theme
search in API
trixnity-core
/
net.folivo.trixnity.core.model.keys
/
RoomKeyBackupSessionData
/
EncryptedRoomKeyBackupV1SessionData
Encrypted
Room
Key
Backup
V1Session
Data
@
Serializable
data
class
EncryptedRoomKeyBackupV1SessionData
(
val
ciphertext
:
String
,
val
ephemeral
:
String
,
val
mac
:
String
)
:
RoomKeyBackupSessionData
Members
Constructors
Encrypted
Room
Key
Backup
V1Session
Data
Link copied to clipboard
constructor
(
ciphertext
:
String
,
ephemeral
:
String
,
mac
:
String
)
Types
Room
Key
Backup
V1Session
Data
Link copied to clipboard
@
Serializable
data
class
RoomKeyBackupV1SessionData
(
val
senderKey
:
Key.Curve25519Key
,
val
forwardingKeyChain
:
List
<
Key.Curve25519Key
>
=
listOf()
,
val
senderClaimedKeys
:
Map
<
String
,
String
>
,
val
sessionKey
:
String
,
val
algorithm
:
EncryptionAlgorithm
=
EncryptionAlgorithm.Megolm
)
Properties
ciphertext
Link copied to clipboard
@
SerialName
(
value
=
"ciphertext"
)
val
ciphertext
:
String
ephemeral
Link copied to clipboard
@
SerialName
(
value
=
"ephemeral"
)
val
ephemeral
:
String
mac
Link copied to clipboard
@
SerialName
(
value
=
"mac"
)
val
mac
:
String