pub enum SignatifError {
NoPath,
ScopeWidening {
parent: String,
child: String,
dimension: String,
},
BadSignature {
context: String,
},
BundleValidity,
ArtifactFormat(String),
HardCheck(String),
Registry {
registry: String,
entry: String,
},
Revocation(String),
Ceremony(String),
Encoding(String),
}Expand description
Errors produced by the SIGNATIF framework implementation.
Variants§
NoPath
A verification path could not be found from an artifact signer to any root anchor in the trust anchor bundle.
ScopeWidening
Scope widening detected at a delegation link — a hard failure.
Fields
BadSignature
A signature failed to verify.
BundleValidity
The trust anchor bundle is expired or not yet valid.
ArtifactFormat(String)
Artifact format error (version, self-description, replay).
HardCheck(String)
Hard-check failure carrying the failing check name.
Registry
A required registry entry is unknown or retired.
Revocation(String)
CRL or revocation state error.
Ceremony(String)
Ceremony transcript audit failure.
Encoding(String)
Serialization or canonicalization failure.
Trait Implementations§
Source§impl Debug for SignatifError
impl Debug for SignatifError
Source§impl Display for SignatifError
impl Display for SignatifError
Source§impl Error for SignatifError
impl Error for SignatifError
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 SignatifError
impl RefUnwindSafe for SignatifError
impl Send for SignatifError
impl Sync for SignatifError
impl Unpin for SignatifError
impl UnsafeUnpin for SignatifError
impl UnwindSafe for SignatifError
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