[][src]Trait em_node_agent_client::ApiMut

pub trait ApiMut {
    type Error;
    fn get_issue_certificate_response(
        &mut self,
        task_id: Uuid
    ) -> Result<IssueCertificateResponse, Self::Error>;
fn issue_certificate(
        &mut self,
        body: IssueCertificateRequest
    ) -> Result<IssueCertificateResponse, Self::Error>;
fn get_fortanix_attestation(
        &mut self,
        body: GetFortanixAttestationRequest
    ) -> Result<GetFortanixAttestationResponse, Self::Error>;
fn get_target_info(&mut self) -> Result<TargetInfo, Self::Error>;
fn get_agent_version(&mut self) -> Result<VersionResponse, Self::Error>; }

Associated Types

type Error

Loading content...

Required methods

fn get_issue_certificate_response(
    &mut self,
    task_id: Uuid
) -> Result<IssueCertificateResponse, Self::Error>

Get result of the certificate issuance

fn issue_certificate(
    &mut self,
    body: IssueCertificateRequest
) -> Result<IssueCertificateResponse, Self::Error>

Submit request for certificate issuance

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

Get Fortanix attestation for the application

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

Get Target Info for node provisioning enclave

fn get_agent_version(&mut self) -> Result<VersionResponse, Self::Error>

Get Agent Version

Loading content...

Implementors

impl<T, E> ApiMut for T where
    T: CertificateApiMut<Error = E> + EnclaveApiMut<Error = E> + SystemApiMut<Error = E>, 
[src]

Loading content...