pub struct ResolutionVerdict {
pub sig_ok: bool,
pub key_bound: bool,
pub chain_cert_id: Option<String>,
pub revoked: bool,
pub revocation_reason: Option<String>,
}Expand description
The trust verdict for a resolution bundle: is the card authentic (directly pinned or chain-certified), and is it revoked? Capability grading and provenance are the caller’s concern; this is only the trust decision.
Fields§
§sig_ok: boolThe card envelope signature verified against the caller’s roots (directly, or via a chain-certified subject key).
key_bound: boolThe card is key-bound: its signer is pinned under AgentCert, or a
pinned CertIssuer chain-certified it.
chain_cert_id: Option<String>If verified through the certificate chain, the cert artifact that vouched.
revoked: boolAn authorized, verifying revocation was found.
revocation_reason: Option<String>The revocation reason, when revoked.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ResolutionVerdict
impl RefUnwindSafe for ResolutionVerdict
impl Send for ResolutionVerdict
impl Sync for ResolutionVerdict
impl Unpin for ResolutionVerdict
impl UnsafeUnpin for ResolutionVerdict
impl UnwindSafe for ResolutionVerdict
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