Package org. matrix. android. sdk. api. session. crypto. keysbackup
Types
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
E2e keys backup states.
Link copied to clipboard
Link copied to clipboard
data class KeysBackupVersionTrust(val usable: Boolean, val signatures: List<KeysBackupVersionTrustSignature> = emptyList())
Content copied to clipboard
Data model for response to KeysBackup.getKeysBackupTrust().
Link copied to clipboard
A signature in a KeysBackupVersionTrust
object.
Link copied to clipboard
@JsonClass(generateAdapter = true )
Content copied to clipboard
Link copied to clipboard
@JsonClass(generateAdapter = true )
Content copied to clipboard
Link copied to clipboard
@JsonClass(generateAdapter = true )
Content copied to clipboard
Data model for org.matrix.androidsdk.rest.model.keys.KeysAlgorithmAndData.authData in case of org.matrix.androidsdk.crypto.MXCRYPTO_ALGORITHM_MEGOLM_BACKUP.
Link copied to clipboard
data class MegolmBackupCreationInfo( val algorithm: String, val authData: MegolmBackupAuthData, val recoveryKey: IBackupRecoveryKey)
Content copied to clipboard
Data retrieved from Olm library. algorithm and authData will be send to the homeserver, and recoveryKey will be displayed to the user
Link copied to clipboard
data class SavedKeyBackupKeyInfo(val recoveryKey: IBackupRecoveryKey, val version: String)
Content copied to clipboard
Functions
Link copied to clipboard
Compute recovery key from curve25519 key.
Link copied to clipboard
Please call .isValidRecoveryKey and ensure it returns true before calling this method.
Link copied to clipboard
Tell if the format of the recovery key is correct.
Link copied to clipboard
fun KeysBackupLastVersionResult.toKeysVersionResult(): KeysVersionResult?
Content copied to clipboard