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
constructor(@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

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

The curve25519 public key used to encrypt the backups.

Link copied to clipboard

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