Trait xxxdh::ProtocolStorage
source · pub trait ProtocolStorage<SK, PK, S>: IdentityKeyStorage<SK> + PreKeyStorage<SK> + SignatureStorage<PK, S> + OnetimeKeyStorage<SK>where
SK: SecretKey,
PK: PublicKey,
S: Signature,{
// Required method
fn new(identity_keypair: KeyPair<SK>, prekey_keypair: KeyPair<SK>) -> Self;
}