MegolmBackupAuthData

@JsonClass(generateAdapter = true)
data class MegolmBackupAuthData(    @Json(name = "public_key") val publicKey: String,     @Json(name = "private_key_salt") val privateKeySalt: String? = null,     @Json(name = "private_key_iterations") val privateKeyIterations: Int? = null,     @Json(name = "signatures") val signatures: Map<String, Map<String, String>>? = null)

Data model for org.matrix.androidsdk.rest.model.keys.KeysAlgorithmAndData.authData in case of org.matrix.androidsdk.crypto.MXCRYPTO_ALGORITHM_MEGOLM_BACKUP.

Constructors

Link copied to clipboard
fun MegolmBackupAuthData(    @Json(name = "public_key") publicKey: String,     @Json(name = "private_key_salt") privateKeySalt: String? = null,     @Json(name = "private_key_iterations") privateKeyIterations: Int? = null,     @Json(name = "signatures") signatures: Map<String, Map<String, String>>? = null)

Properties

Link copied to clipboard
val privateKeyIterations: Int? = null

In case of a backup created from a password, the number of key derivations.

Link copied to clipboard
val privateKeySalt: String? = null

In case of a backup created from a password, the salt associated with the backup private key.

Link copied to clipboard
val publicKey: String

The curve25519 public key used to encrypt the backups.

Link copied to clipboard
val signatures: Map<String, Map<String, String>>? = null

Signatures of the public key. userId -> (deviceSignKeyId -> signature)