Skip to main content

qualia_core_db/bundle/stream/protection/
mod.rs

1//! Private protected-v1 candidates; application authority and durable publication remain separate.
2mod coverage;
3mod error;
4mod source;
5pub use coverage::{EntryRange, ObjectKind, SourceObject};
6pub use error::ProtectionError;
7pub use source::PreparedSource;
8#[cfg(test)]
9mod source_tests;
10
11mod finish;
12mod geometry;
13mod ids;
14mod metadata;
15mod publisher;
16mod seal;
17mod wrap;
18pub use geometry::{PreparedGeometry, EMPTY_REF, EMPTY_ROOT};
19pub use ids::Mapping;
20pub use metadata::PrivateReferences;
21pub use publisher::{
22    Artifact, CandidateSink, ProtectedCandidate, ProtectedPublisher, PublisherError,
23};
24pub use wrap::{
25    authorize_and_wrap, authorize_and_wrap_remote, RecipientAuthorityProof, WrapError,
26};
27#[cfg(test)]
28mod publisher_tests;
29#[cfg(test)]
30mod wrap_tests;
31#[cfg(all(test, not(target_arch = "wasm32")))]
32mod wrap_remote_tests;