generateNewPreKeysAuto

open suspend override fun generateNewPreKeysAuto(keysCount: Int): <Error class: unknown class><<Error class: unknown class>, List<<Error class: unknown class>>>

Generates rolling prekeys, with Core Crypto automatically selecting the next available prekey ID. The generated prekeys can be uploaded to the backend and shared with other clients in order to initialise a new conversation with this client.

As these are consumed, we should keep uploading new prekeys to the backend. For this reason, these can be called "rolling" prekeys, in an attempt to separate them from the "last resort" prekey, which is described in generateNewLastResortKey.

Parameters

keysCount

The number of prekeys to generate.

See also