CryptoCrossSigningKey

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

Constructors

Link copied to clipboard
fun CryptoCrossSigningKey(    userId: String,     usages: List<String>?,     keys: Map<String, String>,     signatures: Map<String, Map<String, String>>?,     trustLevel: DeviceTrustLevel? = null)

Functions

Link copied to clipboard
fun addSignatureAndCopy(    userId: String,     signedWithNoPrefix: String,     signature: String): CryptoCrossSigningKey
Link copied to clipboard
fun copyForSignature(    userId: String,     signedWithNoPrefix: String,     signature: String): CryptoCrossSigningKey
Link copied to clipboard
open override fun signalableJSONDictionary(): Map<String, Any>

Properties

Link copied to clipboard
val isMasterKey: Boolean
Link copied to clipboard
val isSelfSigningKey: Boolean
Link copied to clipboard
val isUserKey: Boolean
Link copied to clipboard
open override val keys: Map<String, String>
Link copied to clipboard
open override val signatures: Map<String, Map<String, String>>?
Link copied to clipboard
var trustLevel: DeviceTrustLevel? = null
Link copied to clipboard
val unpaddedBase64PublicKey: String?
Link copied to clipboard
val usages: List<String>?
Link copied to clipboard
open override val userId: String