KeyInfo

data class KeyInfo(val id: String, val content: SecretStorageKeyContent)

The contents of the account data for the key will include an algorithm property, which indicates the encryption algorithm used, as well as a name property, which is a human-readable name. The contents will be signed as signed JSON using the user's master cross-signing key. Other properties depend on the encryption algorithm.

"content": { "algorithm": "m.secret_storage.v1.curve25519-aes-sha2", "passphrase": { "algorithm": "m.pbkdf2", "iterations": 500000, "salt": "IrswcMWnYieBALCAOMBw9k93xSzlc2su" }, "pubkey": "qql1q3IvBbwMU97zLnyh9HYW5x/zqTy5eoK1n+9fm1Y", "signatures": { "@valere35:matrix.org": { "ed25519:nOUQYiH9L8uKp5JajqiQyv+Loa3+lsdil7UBverz/Ko": "QtePmwfUL7+SHYRJT/HaTgF7gUFog1E/wtUCt0qc5aB8N+Sz5iCOvQ0KtaFHQ5SJzsBlYH8k7ejoBc0RcnU7BA" } } }

Constructors

Link copied to clipboard
fun KeyInfo(id: String, content: SecretStorageKeyContent)

Properties

Link copied to clipboard
val content: SecretStorageKeyContent
Link copied to clipboard
val id: String