PreKeyFormat
object PreKeyFormat
Shape of the public prekey material KSecureMessage publishes. Lets code outside the protocol engine (the server, transports) check untrusted publications without Kodium. This is a format check only: it does not verify the signed prekey signature, which initiators do before X3DH.
Properties
Functions
Link copied to clipboard
Throws IllegalArgumentException if publication has a key or signature of the wrong size, repeats a one-time prekey ID or carries too many one-time prekeys. Messages never contain key bytes.