Skip to main content

Crate arminius_lib_db_keys

Crate arminius_lib_db_keys 

Source
Expand description

Queries related to the tables containing keys.

Modulesยง

fallback_keys ๐Ÿ”’
Queries related to the fallback_keys table.
one_time_keys ๐Ÿ”’
Queries related to the one_time_keys table.
room_keys ๐Ÿ”’
Queries related to room keys backups.
server_keys ๐Ÿ”’
The server key queries.
user_keys ๐Ÿ”’
Queries related to the user_keys table.

Structsยง

ChangedUserKeys
A user who had their keys changed since the last sync request.
CrossSigningKeyRow
[CrossSigningKey] from the database, along their NID.
DbRoomKeysBackup
The information about a stored backup.
DeviceKeysRow
[DeviceKeys] from the database, along their NID.
ServerKey
A server key from the database, and its expiration
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ยง

ServerKeyError
Error related to managing server keys
UserKeyRow
Entry in the user_keys table.

Traitsยง

FallbackKeysQueries
Queries related to the fallback_keys table.
OneTimeKeysQueries
Queries related to the one_time_keys table.
RoomKeysQueries
Queries related to room keys tables.
ServerKeyQueries
Queries for managing server signing keys
TransactedRoomKeysQueries
SQL queries related to room keys that must occur in a database transaction.
TransactedServerKeyQueries
Server keys related queries that must operate within a transaction
UserKeysQueries
Queries related to the user_keys table.