Module test_utils
Expand description
Test utilities
Modules§
- frankenstein
- This module contains the Frankenstein test utilities.
- single_
group_ test_ framework - storage_
state - test_
framework - This crate provides a framework to set up clients and groups using the
OpenMLS mls_group API. To use the framework, start by creating a new
TestSetupwith a number of clients. After that,create_clientshas to be called before the theTestSetupcan be used.
Structs§
- Hpke
KeyPair - Helper holding a (private, public) key pair as byte vectors.
Enums§
- Ciphersuite
- MLS ciphersuites.
Traits§
- Open
MlsProvider - The OpenMLS Crypto Provider Trait
- Storage
Provider Trait - StorageProvider describes the storage backing OpenMLS and persists the state of OpenMLS groups.
Functions§
- bytes_
to_ hex - Convert
bytesto a hex string. - hex_
to_ bytes - Convert a hex string to a byte vector.
- hex_
to_ bytes_ option - Convert a hex string to a byte vector.
If the input is
None, this returns an empty vector. - random_
u8 - random_
u32 - random_
u64