pub struct VerifySessionBundleContext<'a> {
pub verifier_aid: &'a Aid,
pub now: Timestamp,
pub revocation_check: Option<&'a dyn Fn(&Uuid) -> bool>,
}Expand description
Inputs for verify_session_bundle.
Fields§
§verifier_aid: &'a AidVerifier’s own AID. The bundle MUST list this AID in
participants[]; otherwise verification returns
SessionBundleError::NotMember.
now: TimestampCurrent time, for expiry checks.
revocation_check: Option<&'a dyn Fn(&Uuid) -> bool>Optional revocation lookup against the verifier’s deny list.
Returns true if the JTI is revoked. Per-pair degradation
(RFC-AITP-0010 §6): a revoked participant is dropped from the
active set, but the bundle as a whole remains usable so long
as the verifier’s own TCT is still valid.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for VerifySessionBundleContext<'a>
impl<'a> !Send for VerifySessionBundleContext<'a>
impl<'a> !Sync for VerifySessionBundleContext<'a>
impl<'a> !UnwindSafe for VerifySessionBundleContext<'a>
impl<'a> Freeze for VerifySessionBundleContext<'a>
impl<'a> Unpin for VerifySessionBundleContext<'a>
impl<'a> UnsafeUnpin for VerifySessionBundleContext<'a>
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