Information about a user's device
module:crypto/deviceinfo
the ID of this device
list of algorithms supported by this device
a map from <key type>:<id> -> <base64-encoded key>>
whether the device has been verified/blocked by the user
whether the user knows of this device's existence (useful when warning the user that a user has added new devices)
additional data from the homeserver
id of the device
Readonly
Static
Get the configured display name for this device, if any
displayname
Get the fingerprint for this device (ie, the Ed25519 key)
base64-encoded fingerprint of this device
Get the identity key for this device (ie, the Curve25519 key)
base64-encoded identity key of this device
Returns true if this device is blocked
true if blocked
Returns true if the user knows about this device's existence
true if known
Returns true if this device is unverified
true if unverified
Returns true if this device is verified
true if verified
Prepare a DeviceInfo for JSON serialisation in the session store
deviceinfo with non-serialised members removed
rehydrate a DeviceInfo from the session store
new DeviceInfo
raw object from session store
Generated using TypeDoc
Information about a user's device
Alias
module:crypto/deviceinfo
Property
the ID of this device
Property
list of algorithms supported by this device
Property
a map from <key type>:<id> -> <base64-encoded key>>
Property
whether the device has been verified/blocked by the user
Property
whether the user knows of this device's existence (useful when warning the user that a user has added new devices)
Property
additional data from the homeserver
Param
id of the device