Available on crate feature
testing
only.Expand description
Testing facilities and helpers for crypto tests
Functionsยง
- get_
device - Generate default
DeviceData
for tests - get_
other_ identity - Generate default other identify for tests
- get_
own_ identity - Generate default own identity for tests
- simulate_
key_ query_ response_ for_ verification - When we want to test identities that are verified, we need to simulate the verification process. This function supports that by simulating what happens when a successful verification dance happens and providing the /keys/query response we would get when that happened.