Skip to main content

authenticate_closure

Function authenticate_closure 

Source
pub fn authenticate_closure<'a>(
    candidate: ClosureCandidate<'a, 'a>,
    manifest: &'a [u8],
    pins: &PinAuthority,
    pin: PinHandle,
    key_ids: KeyIds,
    epoch: u64,
    audience: &[u8],
    envelope: &[u8],
    now: u64,
    workspace: &mut Workspace,
) -> Result<AuthenticatedClosure<'a>, PolicyError>
Expand description

Expected key identifiers/epoch/audience are checked against the selected local pin. No wire key imports or caller-provided verified/Allow booleans exist.