Type Alias ProcessCheckerMachineComponentType

Source
pub type ProcessCheckerMachineComponentType = ProcessCheckerMachine;

Aliased Type§

struct ProcessCheckerMachineComponentType { /* private fields */ }

Implementations

Source§

impl ProcessCheckerMachine

Source

pub fn new( policy: &'static dyn AppCredentialsPolicy<'static>, ) -> ProcessCheckerMachine

Source

pub fn set_client(&self, client: &'static dyn ProcessCheckerMachineClient)

Source

pub fn set_policy(&self, policy: &'static dyn AppCredentialsPolicy<'static>)

Source

pub fn check( &self, process_binary: ProcessBinary, ) -> Result<(), ProcessCheckError>

Check this process_binary to see if its credentials are valid.

This must be called from a interrupt callback chain.

Trait Implementations

Source§

impl AppCredentialsPolicyClient<'static> for ProcessCheckerMachine

Source§

fn check_done( &self, result: Result<CheckResult, ErrorCode>, credentials: TbfFooterV2Credentials, _integrity_region: &'static [u8], )

The check for a particular credential is complete. Result of the check is in result.