Companion
object Companion
Functions
Link copied to clipboard
The version 1 ID of the initiation message belongs to, for the responder whose public identity key is responderIdentityKey. Only for sessions created before S1; never trust it for anything new.
Link copied to clipboard
fun v2Of(message: PreKeyMessage, sender: DeviceAddress, recipient: DeviceAddress, responderIdentityKey: ByteArray): SessionInitiationId
The version 2 ID of the initiation message belongs to, for a message from sender to recipient, whose public identity key is responderIdentityKey. Requires a SessionInitiationVersion.V2 message.