Skip to main content

Module user_keys

Module user_keys 

Source
Expand description

Queries related to the user_keys table.

This table contains both device keys and cross-signing keys.

Structs§

ChangedUserKeys
A user who had their keys changed since the last sync request.
CrossSigningKeyRow
[CrossSigningKey] from the database, along their NID.
DeviceKeysRow
[DeviceKeys] from the database, along their NID.
UserKeyRef
A lightweight reference to a user_keys row, carrying only the fields needed to resolve key type and identity during a cross-signing signature import.

Enums§

UserKeyRow
Entry in the user_keys table.

Traits§

UserKeysQueries
Queries related to the user_keys table.

Functions§

single_cross_signing_key_id 🔒
Extracts the single key id from a cross-signing key’s keys map, to be stored in the user_keys.key_id column.