Module ciphersuite

Module ciphersuite 

Source
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§

HpkePrivateKey
A simple type for HPKE private keys.
SafeEncryptionContextextensions-draft-08
Context for safe_encrypt_with_label and safe_decrypt_with_label.

Enums§

HpkeErrorextensions-draft-08
HPKE labeled encryption errors.

Functions§

safe_decrypt_with_labelextensions-draft-08
Decrypt the provided ciphertext with the private_key. The SafeEncryptionContext is used to set the ComponentId, label, and optional context.
safe_encrypt_with_labelextensions-draft-08
Encrypt the provided plaintext for the public_key. The SafeEncryptionContext is used to set the ComponentId, label, and optional context.

Type Aliases§

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