pub enum MutationTrust {
Unverified,
VerifiedChannel,
VerifiedRelay,
}Expand description
Channel/relay scope derived from ingress provenance, mirroring RB-09
ControlTrust. Scope only, never leaf identity: a verified SC ingress
asserts the channel/relay validation, not that a claimed SNET/SADR leaf
is the authenticated peer. Provenance alone never authorizes; only the
policy does (no static allowlist).
Direct ingress exposes its verified leaf as
MutationAuthorizationContext::principal; this enum remains scope-only. The SC VMAC is payload-claimed inside the TLS
channel and is not bound to the operational certificate. An unknown origin (including a
hub-mediated unknown leaf, which arrives TransportProvenance::unverified)
never satisfies a baseline-only allow rule; receive-permission (e.g. an
accepted COV subscription or audit receipt) is never write-permission.
Variants§
Unverified
Unverified legacy origin, including hub-mediated unknown leaves.
VerifiedChannel
Authenticated immediate SC-TLS channel; leaf identity is separate.
VerifiedRelay
Independently validated SC-hub relayed origin (post source admission; the hub peer is not the leaf).
Implementations§
Source§impl MutationTrust
impl MutationTrust
Sourcepub fn from_provenance(provenance: &TransportProvenance) -> Self
pub fn from_provenance(provenance: &TransportProvenance) -> Self
Derive the channel/relay scope from one reassembled ingress snapshot.