CryptoDeviceInfo

data class CryptoDeviceInfo(    val deviceId: String,     val userId: String,     val algorithms: List<String>? = null,     val keys: Map<String, String>? = null,     val signatures: Map<String, Map<String, String>>? = null,     val unsigned: UnsignedDeviceInfo? = null,     var trustLevel: DeviceTrustLevel? = null,     val isBlocked: Boolean = false,     val firstTimeSeenLocalTs: Long? = null) : CryptoInfo

Constructors

Link copied to clipboard
fun CryptoDeviceInfo(    deviceId: String,     userId: String,     algorithms: List<String>? = null,     keys: Map<String, String>? = null,     signatures: Map<String, Map<String, String>>? = null,     unsigned: UnsignedDeviceInfo? = null,     trustLevel: DeviceTrustLevel? = null,     isBlocked: Boolean = false,     firstTimeSeenLocalTs: Long? = null)

Functions

Link copied to clipboard
fun displayName(): String?
Link copied to clipboard
fun fingerprint(): String?
Link copied to clipboard
fun identityKey(): String?
Link copied to clipboard
fun shortDebugString(): String
Link copied to clipboard
open override fun signalableJSONDictionary(): Map<String, Any>

Properties

Link copied to clipboard
val algorithms: List<String>? = null
Link copied to clipboard
val deviceId: String
Link copied to clipboard
val firstTimeSeenLocalTs: Long? = null
Link copied to clipboard
val isBlocked: Boolean = false
Link copied to clipboard
val isCrossSigningVerified: Boolean
Link copied to clipboard
val isUnknown: Boolean
Link copied to clipboard
val isVerified: Boolean
Link copied to clipboard
open override val keys: Map<String, String>? = null
Link copied to clipboard
open override val signatures: Map<String, Map<String, String>>? = null
Link copied to clipboard
var trustLevel: DeviceTrustLevel? = null
Link copied to clipboard
val unsigned: UnsignedDeviceInfo? = null
Link copied to clipboard
open override val userId: String

Extensions

Link copied to clipboard
fun CryptoDeviceInfo.getFingerprintHumanReadable(): String?