Package org.matrix.android.sdk.api.session.crypto.crosssigning

Types

Link copied to clipboard
interface CrossSigningService
Link copied to clipboard
data class CryptoCrossSigningKey(    val userId: String,     val usages: List<String>?,     val keys: Map<String, String>,     val signatures: Map<String, Map<String, String>>?,     var trustLevel: DeviceTrustLevel? = null) : CryptoInfo
Link copied to clipboard
data class DeviceTrustLevel(val crossSigningVerified: Boolean, val locallyVerified: Boolean?)
Link copied to clipboard
sealed class DeviceTrustResult
Link copied to clipboard
data class MXCrossSigningInfo(    val userId: String,     val crossSigningKeys: List<CryptoCrossSigningKey>,     val wasTrustedOnce: Boolean)
Link copied to clipboard
data class PrivateKeysInfo(    val master: String? = null,     val selfSigned: String? = null,     val user: String? = null)
Link copied to clipboard
data class UserIdentity(    val masterKey: CryptoCrossSigningKey?,     val selfSigningKey: CryptoCrossSigningKey?,     val userSigningKey: CryptoCrossSigningKey?)

Container for the three cross signing keys: master, self signing and user signing.

Link copied to clipboard
sealed class UserTrustResult

Functions

Link copied to clipboard
fun DeviceTrustResult.isCrossSignedVerified(): Boolean
Link copied to clipboard
fun DeviceTrustResult.isLocallyVerified(): Boolean
Link copied to clipboard
fun DeviceTrustResult.isSuccess(): Boolean
Link copied to clipboard
fun UserTrustResult.isVerified(): Boolean

Properties

Link copied to clipboard
const val KEYBACKUP_SECRET_SSSS_NAME: String
Link copied to clipboard
const val MASTER_KEY_SSSS_NAME: String
Link copied to clipboard
const val SELF_SIGNING_KEY_SSSS_NAME: String
Link copied to clipboard
const val USER_SIGNING_KEY_SSSS_NAME: String