Module test_utils

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 TestSetup with a number of clients. After that, create_clients has to be called before the the TestSetup can be used.

Structs§

HpkeKeyPair
Helper holding a (private, public) key pair as byte vectors.

Enums§

Ciphersuite
MLS ciphersuites.

Traits§

OpenMlsProvider
The OpenMLS Crypto Provider Trait
StorageProviderTrait
StorageProvider describes the storage backing OpenMLS and persists the state of OpenMLS groups.

Functions§

bytes_to_hex
Convert bytes to 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

Type Aliases§

OpenMlsRustCrypto