Crates.io | openmls_traits |
lib.rs | openmls_traits |
version | 0.3.0 |
source | src |
created_at | 2022-02-03 09:37:20.061185 |
updated_at | 2024-09-04 15:18:01.575638 |
description | Traits used by OpenMLS |
homepage | |
repository | https://github.com/openmls/openmls/tree/main/traits |
max_upload_size | |
id | 526124 |
size | 61,251 |
This crate defines a number of crates that have to be implemented in order to use OpenMLS.
The OpenMLS repository provides a default implementation for these traits
⚠️ These traits are responsible for all cryptographic operations and randomness within OpenMLS. Please ensure you know what you're doing when implementing your own versions.
There are 4 different traits.
This trait defines two functions to generate arrays and vectors, and is used by OpenMLS to generate randomness.
This trait defines all cryptographic functions required by OpenMLS, in particular
This trait defines a CRUD API for a key store that is used to store long-term key material from OpenMLS.
Additionally, there's a wrapper trait defined that is expected to be passed into the public OpenMLS API.
For interoperability this crate also defines a number of types and algorithm identifiers.