pub struct ValidationContext<'a, 'p, V: Verify, W: Watch, R: Recognizer> {
pub execution: &'p Memory,
pub interval: Interval,
pub policy: Policy<'a>,
pub bounds: ValidationBounds,
pub verifier: &'p V,
pub watch: &'p W,
pub recognizer: &'p R,
}Expand description
Explicit execution inputs for static checking of a borrowed supplied path. Callers supply trusted anchors, cryptographic capability and application policy separately; no clock, network or trust discovery is performed here.
Fields§
§execution: &'p MemoryThe current operation’s shared work and storage account.
interval: IntervalThe interval every certificate must cover.
policy: Policy<'a>Certificate-policy processing inputs.
bounds: ValidationBoundsLocal bounds that only tighten the shared execution budget.
verifier: &'p VInjected signature verifier; it accounts its own internal work/storage.
watch: &'p WCaller-provided deadline check; () means no clock, with work still bounded.
recognizer: &'p RInjected recognition of scheme-specific critical extensions/names.
Auto Trait Implementations§
impl<'a, 'p, V, W, R> Freeze for ValidationContext<'a, 'p, V, W, R>
impl<'a, 'p, V, W, R> RefUnwindSafe for ValidationContext<'a, 'p, V, W, R>
impl<'a, 'p, V, W, R> Send for ValidationContext<'a, 'p, V, W, R>
impl<'a, 'p, V, W, R> Sync for ValidationContext<'a, 'p, V, W, R>
impl<'a, 'p, V, W, R> Unpin for ValidationContext<'a, 'p, V, W, R>
impl<'a, 'p, V, W, R> UnsafeUnpin for ValidationContext<'a, 'p, V, W, R>
impl<'a, 'p, V, W, R> UnwindSafe for ValidationContext<'a, 'p, V, W, R>
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