rotate_signed_pre_key

Function rotate_signed_pre_key 

Source
pub async fn rotate_signed_pre_key<S: SignalStorageContainer>(
    storage: &mut S,
    identity_key_pair: &IdentityKeyPair,
) -> Result<(), Box<dyn Error>>
Expand description

Rotates the signed pre-key by generating and storing a new one

ยงArguments

  • storage - Signal Protocol storage container
  • identity_key_pair - Identity key pair to sign the new pre-key