Skip to main content

direct

Function direct 

Source
pub fn direct<'r, 'p, 'a, 'c, S: Evidence, W: Work, E>(
    facts: &'r Authenticated<'r, 'c, 'a>,
    trusted_aa: &Certificate<'_>,
    context: Context<'r, 'p, 'a, 'c, '_, S, W>,
    membership: impl FnMut(GroupRole, &GeneralName<'c>, &Execution<'_>) -> Result<Membership, E>,
) -> Result<Outcome<Checked<'r, 'p, 'a, 'c, S>>, UseError<E>>
Expand description

Complete processing using an explicitly selected directly trusted AA. Equal bytes from another untrusted object do not silently select trust.