pub enum BundleTrustError {
Stale(String),
NotSelfCertifying(String),
KelUnauthenticated(String),
}Expand description
Why an identity bundle could not become a trust anchor. Fails closed: an unusable bundle is rejected, never silently treated as “no constraint”.
Variants§
Stale(String)
The bundle is past its own TTL.
NotSelfCertifying(String)
RT-005: the bundle’s identity_did does not name the inception its KEL
carries, so it could pair a victim’s DID with an attacker-authored KEL.
KelUnauthenticated(String)
RT-002: the bundle’s KEL events could not be authenticated against the
controlling key-state (missing, malformed, or forged signature
attachments). Re-export with a current auths id export-bundle.
Trait Implementations§
Source§impl Debug for BundleTrustError
impl Debug for BundleTrustError
Source§impl Display for BundleTrustError
impl Display for BundleTrustError
Source§impl Error for BundleTrustError
impl Error for BundleTrustError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for BundleTrustError
impl RefUnwindSafe for BundleTrustError
impl Send for BundleTrustError
impl Sync for BundleTrustError
impl Unpin for BundleTrustError
impl UnsafeUnpin for BundleTrustError
impl UnwindSafe for BundleTrustError
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