tee_call

Trait TeeCall

Source
pub trait TeeCall: Send + Sync {
    // Required methods
    fn get_attestation_report(
        &self,
        report_data: &[u8; 64],
    ) -> Result<GetAttestationReportResult, Error>;
    fn supports_get_derived_key(&self) -> Option<&dyn TeeCallGetDerivedKey>;
    fn tee_type(&self) -> TeeType;
}
Expand description

Trait that defines the get attestation report interface for TEE.

Required Methods§

Source

fn get_attestation_report( &self, report_data: &[u8; 64], ) -> Result<GetAttestationReportResult, Error>

Get the hardware-backed attestation report.

Source

fn supports_get_derived_key(&self) -> Option<&dyn TeeCallGetDerivedKey>

Whether TeeCallGetDerivedKey is implemented.

Source

fn tee_type(&self) -> TeeType

Get the TeeType.

Implementors§