pub enum TrustPath {
CertChain(Vec<Name>),
LocalFace {
uid: u32,
},
DigestSha256,
}Expand description
The trust path used to validate a SafeData.
Variants§
CertChain(Vec<Name>)
Validated via full certificate chain.
LocalFace
Trusted because it arrived on a local face with known process credentials.
DigestSha256
Validated by verifying SHA-256(signed_region) == sig_value.
No key or trust anchor involved — self-contained integrity check only.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TrustPath
impl RefUnwindSafe for TrustPath
impl Send for TrustPath
impl Sync for TrustPath
impl Unpin for TrustPath
impl UnwindSafe for TrustPath
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more