Skip to main content

EnclaveApi

Trait EnclaveApi 

Source
pub trait EnclaveApi {
    type Error;

    // Required methods
    fn get_fortanix_attestation(
        &self,
        body: GetFortanixAttestationRequest,
    ) -> Result<GetFortanixAttestationResponse, Self::Error>;
    fn get_target_info(&self) -> Result<TargetInfo, Self::Error>;
}

Required Associated Types§

Required Methods§

Source

fn get_fortanix_attestation( &self, body: GetFortanixAttestationRequest, ) -> Result<GetFortanixAttestationResponse, Self::Error>

Get Fortanix attestation for the application

Source

fn get_target_info(&self) -> Result<TargetInfo, Self::Error>

Get Target Info for node provisioning enclave

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§