DeviceTrustResult

sealed class DeviceTrustResult

Types

Link copied to clipboard
data class CrossSigningNotConfigured(val userID: String) : DeviceTrustResult
Link copied to clipboard
data class InvalidDeviceSignature(    val deviceId: String,     val signingKey: String,     val throwable: Throwable?) : DeviceTrustResult
Link copied to clipboard
data class KeysNotTrusted(val key: MXCrossSigningInfo) : DeviceTrustResult
Link copied to clipboard
data class MissingDeviceSignature(val deviceId: String, val signingKey: String) : DeviceTrustResult
Link copied to clipboard
data class Success(val level: DeviceTrustLevel) : DeviceTrustResult
Link copied to clipboard
data class UnknownDevice(val deviceID: String) : DeviceTrustResult

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Extensions

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