Skip to main content

Module policy_labels

Module policy_labels 

Source
Expand description

Bounded protection labels. Separate from NQuin sensitivity-byte cache.

Re-exports§

pub use declassify::declassify;
pub use declassify::declassify_record;
pub use declassify::declassify_to;
pub use declassify::DeclassifyRecord;
pub use decode::decode_label_into;
pub use decode::encode_label_into;
pub use egress::admit_cache_insert;
pub use egress::admit_caller_egress;
pub use egress::admit_egress;
pub use egress::EgressCaller;
pub use flow::protected_read;
pub use flow::JobLabelContext;
pub use join::join_labels_into;
pub use join::join_one;
pub use lattice::join_confidentiality;
pub use projection::project_sensitivity;
pub use projection::project_sink;
pub use projection::require_labelled;
pub use projection::require_labelled_content;
pub use projection::DerivedSink;
pub use release::release_derivation;
pub use types::Confidentiality;
pub use types::LabelFields;
pub use types::VerifiedLabel;
pub use types::MAX_COMPARTMENTS;
pub use types::MAX_JOIN_INPUTS;
pub use types::MAX_LABEL_BYTES;
pub use types::MAX_PURPOSES;
pub use types::NO_BIOMETRIC_REUSE;
pub use types::NO_EXTERNAL_AI;
pub use types::NO_PUBLIC_INDEX;
pub use types::NO_REDISTRIBUTE;
pub use types::NO_TRAINING;
pub use verify::verify_label;
pub use verify::verify_label_digest;

Modules§

declassify
Reviewed declassification as a new derivation. The original label is preserved.
decode
Decode untrusted label bytes into LabelFields.
egress
Egress and materialisation admission. Every sink uses the same checks.
flow
Runtime-owned monotonically restrictive job label context.
join
Label join: max confidentiality, union compartments/restrictions, purpose conjunction.
lattice
Confidentiality lattice properties over [join_one].
projection
Conservative sensitivity projection. Missing labels fail closed.
release
Reviewed release cannot let one issuer relax another source’s constraints.
types
Bounded information-flow label fields. Unknown is never Public.
verify
Verify exact original bytes into a VerifiedLabel. No “signed” boolean.