#[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()