pub struct Initiator<V: X3dhVault> { /* private fields */ }
Expand description

The initiator of X3DH receives a prekey bundle and computes the shared secret to communicate the first message to the responder

Trait Implementations

Formats the value using the given formatter. Read more

Return key exchange unique name.

Generate request that should be sent to the other party.

Handle response from other party and return payload.

Returns true if the key exchange process is complete.

Return the data and keys needed for channels. Key exchange must be completed prior to calling this function.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.