Module prelude_test

Module prelude_test 

Expand description

Single place, re-exporting all structs and functions needed for integration tests Testing prelude for OpenMLS. Include this to get access to all necessary pub(crate) functions of OpenMLS testing.

Modules§

hash_ref
Hash References
hpke
Public-Key Encryption
kat_treemath
Known Answer Tests for treemath
key_schedule
Known Answer Tests for the key schedule
signable
This module defines traits used for signing and verifying structs from the MLS protocol spec.
signature
Signatures.

Structs§

HpkePrivateKey
A simple type for HPKE private keys.
KeyPackage
The key package struct.
KeyScheduleTestVector

Traits§

Verifiable
The verifiable trait must be implemented by any struct that is signed with a credential. The actual verify method is provided. The unsigned_payload and signature functions have to be implemented for each struct, returning the serialized payload and the signature respectively.

Type Aliases§

HpkePublicKey
A simple type for HPKE public keys using VLBytes for (de)serializing.