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§
- Hpke
Private Key - A simple type for HPKE private keys.
- KeyPackage
- The key package struct.
- KeySchedule
Test Vector
Traits§
- Verifiable
- The verifiable trait must be implemented by any struct that is signed with
a credential. The actual
verifymethod is provided. Theunsigned_payloadandsignaturefunctions have to be implemented for each struct, returning the serialized payload and the signature respectively.
Type Aliases§
- Hpke
Public Key - A simple type for HPKE public keys using
VLBytesfor (de)serializing.