Skip to main content

Context

pub struct Context<'r, 'p, 'a, 'c, 'op, S: Evidence, W: Work> {
    pub holder: Holder<'r, 'p, 'a, 'c>,
    pub recipient: &'r [GeneralName<'a>],
    pub proxy: Option<Proxy<'r, 'a>>,
    pub status: &'r S,
    pub now: Reading,
    pub utc: &'op LeapTable<'op>,
    pub execution: &'op W,
}
Expand description

All operation facts. No configuration discovery, clock, default status or fallback holder method is inferred. Additional OCSP age/nonce/recipient and responder-trust policy belongs to the caller before supplying evidence.

Fields§

§holder: Holder<'r, 'p, 'a, 'c>

Caller-authenticated holder, with any required checked certificate path.

§recipient: &'r [GeneralName<'a>]

Known identities of the current recipient, not AC-supplied claims.

§proxy: Option<Proxy<'r, 'a>>

Complete authenticated proxy context when ProxyInfo is present.

§status: &'r S

Previously processed original status evidence or explicit NoStatus. The caller establishes trust/path/status of each signing authority, including the issuer/same-anchor facts required for indirect CRLs.

§now: Reading

Exact evaluation label used by the status processor.

§utc: &'op LeapTable<'op>

Authenticated UTC coverage, including precise upward rounding facts.

§execution: &'op W

Current operation pays every new query, callback and retained result.

Auto Trait Implementations§

§

impl<'r, 'p, 'a, 'c, 'op, S, W> !RefUnwindSafe for Context<'r, 'p, 'a, 'c, 'op, S, W>

§

impl<'r, 'p, 'a, 'c, 'op, S, W> !Send for Context<'r, 'p, 'a, 'c, 'op, S, W>

§

impl<'r, 'p, 'a, 'c, 'op, S, W> !Sync for Context<'r, 'p, 'a, 'c, 'op, S, W>

§

impl<'r, 'p, 'a, 'c, 'op, S, W> !UnwindSafe for Context<'r, 'p, 'a, 'c, 'op, S, W>

§

impl<'r, 'p, 'a, 'c, 'op, S, W> Freeze for Context<'r, 'p, 'a, 'c, 'op, S, W>

§

impl<'r, 'p, 'a, 'c, 'op, S, W> Unpin for Context<'r, 'p, 'a, 'c, 'op, S, W>

§

impl<'r, 'p, 'a, 'c, 'op, S, W> UnsafeUnpin for Context<'r, 'p, 'a, 'c, 'op, S, W>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.