pub struct IdentityChangeDataSet {}
Expand description
A set of keys query to test identity changes, For user @bob, several payloads with no identities then identity A and B.
Implementations§
Source§impl IdentityChangeDataSet
impl IdentityChangeDataSet
pub fn user_id() -> &'static UserId
pub fn device_a() -> &'static DeviceId
pub fn device_b() -> &'static DeviceId
pub fn device_c() -> &'static DeviceId
pub fn master_signing_keys_a() -> Value
pub fn self_signing_keys_a() -> Value
Sourcepub fn key_query_with_identity_a() -> KeyQueryResponse
pub fn key_query_with_identity_a() -> KeyQueryResponse
A key query with an identity (Ia), and a first device GYKSNAWLVK
signed by Ia.
pub fn master_signing_keys_b() -> Value
pub fn self_signing_keys_b() -> Value
pub fn device_keys_payload_2_signed_by_b() -> Value
Sourcepub fn key_query_with_identity_b() -> KeyQueryResponse
pub fn key_query_with_identity_b() -> KeyQueryResponse
A key query with a new identity (Ib) and a new device ATWKQFSFRN
.
ATWKQFSFRN
is signed with the new identity but GYKSNAWLVK
is still
signed by the old identity (Ia).
Sourcepub fn key_query_with_identity_no_identity() -> KeyQueryResponse
pub fn key_query_with_identity_no_identity() -> KeyQueryResponse
A key query with no identity and a new device OPABMDDXGX
(not
cross-signed).
Auto Trait Implementations§
impl Freeze for IdentityChangeDataSet
impl RefUnwindSafe for IdentityChangeDataSet
impl Send for IdentityChangeDataSet
impl Sync for IdentityChangeDataSet
impl Unpin for IdentityChangeDataSet
impl UnwindSafe for IdentityChangeDataSet
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CompatExt for T
impl<T> CompatExt for T
Source§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
Source§fn consume_handle(handle: Handle) -> Arc<T>
fn consume_handle(handle: Handle) -> Arc<T>
Consume a handle, getting back the initial
Arc<>