Get desktop application:
View/edit binary Protocol Buffers messages
Provides methods for working with pre-keys.
Retrieves an approximate count of the number of the various kinds of pre-keys stored for the authenticated device.
(message has no fields)
The approximate number of one-time EC pre-keys stored for the authenticated device and associated with the caller's ACI.
The approximate number of one-time Kyber pre-keys stored for the authenticated device and associated with the caller's ACI.
The approximate number of one-time EC pre-keys stored for the authenticated device and associated with the caller's PNI. 0 if the account does not possess a phone number.
The approximate number of one-time KEM pre-keys stored for the authenticated device and associated with the caller's PNI. 0 if the account does not possess a phone number.
Retrieves a set of pre-keys for establishing a session with the targeted device or devices. Note that callers with an unidentified access key for the targeted account should use the version of this method in `KeysAnonymous` instead.
The requested pre-key bundles
Either the target account was not found, no active device with the given ID (if specified) was found on the target account.
Sets the signed EC pre-key for one identity (i.e. ACI or PNI) associated with the authenticated device.
The identity type (i.e. ACI/PNI) with which this key is associated.
The signed EC pre-key itself.
Sets the last-resort KEM pre-key for one identity (i.e. ACI or PNI) associated with the authenticated device.
The identity type (i.e. ACI/PNI) with which this key is associated.
The signed KEM pre-key itself.
Uploads a new set of one-time EC pre-keys for the authenticated device, clearing any previously-stored pre-keys. Note that all keys submitted via a single call to this method _must_ have the same identity type (i.e. if the first key has an ACI identity type, then all other keys in the same stream must also have an ACI identity type). The provided list of pre-keys must be non-empty.
The identity type (i.e. ACI/PNI) with which the keys in this request are associated.
The unsigned EC pre-keys to be stored.
Uploads a new set of one-time KEM pre-keys for the authenticated device, clearing any previously-stored pre-keys. Note that all keys submitted via a single call to this method _must_ have the same identity type (i.e. if the first key has an ACI identity type, then all other keys in the same stream must also have an ACI identity type). The provided list of pre-keys must be non-empty.
The identity type (i.e. ACI/PNI) with which the keys in this request are associated.
The KEM pre-keys to be stored.
Provides methods for working with pre-keys using "unidentified access" credentials.
Checks identity key fingerprints of the target accounts. Returns a stream of elements, each one representing an account that had a mismatched identity key fingerprint with the server and the corresponding identity key stored by the server.
The service identifier of the account for which we want to check the associated identity key fingerprint.
The most significant 4 bytes of the SHA-256 hash of the identity key associated with the target account/identity type.
The service identifier of the account for which there is a mismatch between the client and server identity key fingerprints.
The identity key that is stored by the server for the target account/identity type.
Retrieves a set of pre-keys for establishing a session with the targeted device or devices. Callers must not submit any self-identifying credentials when calling this method and must instead present the targeted account's unidentified access key as an anonymous authentication mechanism. Callers without an unidentified access key should use the equivalent, authenticated method in `Keys` instead.
The request to retrieve pre-keys for a specific account/device(s).
A means to authorize the request.
The unidentified access key (UAK) for the targeted account.
A group send endorsement token for the targeted account.
The destination account allows unrestricted unidentified access
The requested pre-key bundles
Either the target account was not found, no active device with the given ID (if specified) was found on the target account.
The provided unidentified authorization credential was invalid
Used in: ,
The identity key associated with the targeted account/identity.
A map of device IDs to pre-key "bundles" for the targeted account.
Whether the account has enabled sealed sender from anyone. Always false if the request was for a PNI, which does not allow any unidentified access.
If the target supports unidentified access and has an unidentified access key, a fingerprint of the target's UAK. This may be used to detect a change in the UAK that the sender has for the target before actually sending a message. Otherwise, empty.
Used in:
The EC signed pre-key associated with the targeted account/device/identity.
A one-time EC pre-key for the targeted account/device/identity. May not be set if no one-time EC pre-keys are available.
A one-time KEM pre-key (or a last-resort KEM pre-key) for the targeted account/device/identity.
The registration ID for the targeted account/device/identity.
Used as request type in: Keys.GetPreKeys
Used as field type in:
The service identifier of the account for which to retrieve pre-keys.
The ID of the device associated with the targeted account for which to retrieve pre-keys. If not set, pre-keys are returned for all devices associated with the targeted account.
Used as response type in: Keys.SetEcSignedPreKey, Keys.SetKemLastResortPreKey, Keys.SetOneTimeEcPreKeys, Keys.SetOneTimeKemSignedPreKeys
(message has no fields)