#[non_exhaustive]pub enum OrgBundleError {
Integrity {
id: String,
reason: String,
},
MissingMemberKel {
member: String,
},
MissingDelegatorSeal {
member: String,
},
Canonicalize(String),
Parse(String),
RecordInvalid(String),
}Expand description
A failure verifying an air-gapped org bundle or off-boarding record.
Every variant is fail-closed: none of these conditions ever yields a “valid” verdict.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Integrity
A bundled KEL failed integrity or authentication: an event’s
recomputed SAID did not match its stored d, the signature
attachments could not be parsed, or a signature did not verify
against the controlling key-state (RT-002).
MissingMemberKel
The org KEL delegates a member whose own KEL is not in the bundle — the bundle is incomplete and cannot be verified. Fail closed.
MissingDelegatorSeal
A queried member has no delegation seal in the org KEL — the org never delegated it, so there is no authority to verify. Fail closed.
Canonicalize(String)
Canonical serialization (json-canon) of a bundle or record failed.
Parse(String)
A bundle or record could not be parsed from its JSON form.
RecordInvalid(String)
A signed off-boarding record failed verification: the signature did not verify, the curve tag mismatched the org key, or the record is not bound to a matching revocation seal on the org KEL.
Trait Implementations§
Source§impl AuthsErrorInfo for OrgBundleError
impl AuthsErrorInfo for OrgBundleError
Source§fn error_code(&self) -> &'static str
fn error_code(&self) -> &'static str
Source§fn suggestion(&self) -> Option<&'static str>
fn suggestion(&self) -> Option<&'static str>
Source§impl Debug for OrgBundleError
impl Debug for OrgBundleError
Source§impl Display for OrgBundleError
impl Display for OrgBundleError
Source§impl Error for OrgBundleError
impl Error for OrgBundleError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()
Source§impl From<OrgBundleError> for OrgError
impl From<OrgBundleError> for OrgError
Source§fn from(source: OrgBundleError) -> Self
fn from(source: OrgBundleError) -> Self
Auto Trait Implementations§
impl Freeze for OrgBundleError
impl RefUnwindSafe for OrgBundleError
impl Send for OrgBundleError
impl Sync for OrgBundleError
impl Unpin for OrgBundleError
impl UnsafeUnpin for OrgBundleError
impl UnwindSafe for OrgBundleError
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.