pub fn key_packages(&self) -> Vec<(Vec<u8>, KeyPackage)> {
        vec![(
            self.identity.borrow().kpb.key_package().hash(&self.crypto),
            self.identity.borrow().kpb.key_package().clone(),
        )]
    }
/// Get the key packages fo this user.
Get the key packages fo this user.
Get the key packages fo this user .
pub fn key_packages(&self) -> Vec<(Vec<u8>, KeyPackage)> {
        vec![(
            self.identity.borrow().kpb.key_package().hash(&self.crypto),
            self.identity.borrow().kpb.key_package().clone(),
        )]
    }
pub fn key_packages ( & self ) -> Vec < ( Vec < u8 > , KeyPackage ) > { vec ! [ ( self identity borrow ( ) kpb key_package ( ) hash ( self crypto ) self identity borrow ( ) kpb key_package ( ) clone ( ) ) ] }
Get the key packages fo this user.
Get the key packages fo this user .
&self
&self