Available on 32-bit or 64-bit only.
Expand description
§Ciphersuites for MLS
This module defines the API for interacting with MLS ciphersuites. For
implementation details, refer to codec.rs and ciphersuites.rs.
Modules§
- hash_
ref - Hash References
- 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.
- Safe
Encryption Context extensions-draft-08 - Context for
safe_encrypt_with_labelandsafe_decrypt_with_label.
Enums§
- Hpke
Error extensions-draft-08 - HPKE labeled encryption errors.
Functions§
- safe_
decrypt_ with_ label extensions-draft-08 - Decrypt the provided
ciphertextwith theprivate_key. TheSafeEncryptionContextis used to set theComponentId,label, and optionalcontext. - safe_
encrypt_ with_ label extensions-draft-08 - Encrypt the provided
plaintextfor thepublic_key. TheSafeEncryptionContextis used to set theComponentId,label, and optionalcontext.
Type Aliases§
- Hpke
Public Key - A simple type for HPKE public keys using
VLBytesfor (de)serializing.