pub type ProcessCheckerMachineComponentType = ProcessCheckerMachine;
Aliased Type§
struct ProcessCheckerMachineComponentType { /* private fields */ }
Implementations
Source§impl ProcessCheckerMachine
impl ProcessCheckerMachine
pub fn new( policy: &'static dyn AppCredentialsPolicy<'static>, ) -> ProcessCheckerMachine
pub fn set_client(&self, client: &'static dyn ProcessCheckerMachineClient)
pub fn set_policy(&self, policy: &'static dyn AppCredentialsPolicy<'static>)
Sourcepub fn check(
&self,
process_binary: ProcessBinary,
) -> Result<(), ProcessCheckError>
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
impl AppCredentialsPolicyClient<'static> for ProcessCheckerMachine
Source§fn check_done(
&self,
result: Result<CheckResult, ErrorCode>,
credentials: TbfFooterV2Credentials,
_integrity_region: &'static [u8],
)
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
.