Skip to main content

create_offer

Function create_offer 

Source
pub fn create_offer(
    identity: &Identity,
    rng: &mut impl RandomSource,
) -> Result<PendingOffer, Error>
Expand description

Build the prekey bundle an init frame carries: a fresh signed-prekey and one-time-prekey, signed together with the identity key by the long-term signing key.