moq_secure/lib.rs
1pub mod crypto;
2pub mod error;
3pub mod key_store;
4pub mod nonce;
5pub mod wire;
6
7pub use error::MoqSecureError;
8
9// Re-export key-store types so applications can construct and populate one.
10pub use key_store::{InMemoryKeyStore, KeyStore, KeyStoreError};
11
12pub use nonce::derive_nonce12;
13
14pub use wire::{
15 decrypt_frame,
16 encrypt_frame,
17 EncryptionType,
18 Frame,
19 WireHeader,
20 ENCRYPTION_AES_256_GCM,
21 ENCRYPTION_CHACHA20_POLY1305,
22 ENCRYPTION_UNENCRYPTED,
23 FIXED_HEADER_LEN,
24 MAGIC,
25 VERSION,
26};
27