[−][src]Struct aesm_client::AesmClient
Methods
impl AesmClient
[src]
pub fn new() -> Self
[src]
pub fn try_connect(&self) -> Result<()>
[src]
Test the connection with AESM.
This should only be used for diagnostic purposes. This method returning
Ok
is not a guarantee that any of the other methods will function
correctly.
pub fn init_quote(&self) -> Result<QuoteInfo>
[src]
pub fn get_quote(
&self,
session: &QuoteInfo,
report: Vec<u8>,
spid: Vec<u8>,
sig_rl: Vec<u8>
) -> Result<QuoteResult>
[src]
&self,
session: &QuoteInfo,
report: Vec<u8>,
spid: Vec<u8>,
sig_rl: Vec<u8>
) -> Result<QuoteResult>
pub fn get_launch_token(
&self,
mr_enclave: Vec<u8>,
signer_modulus: Vec<u8>,
attributes: Vec<u8>
) -> Result<Vec<u8>>
[src]
&self,
mr_enclave: Vec<u8>,
signer_modulus: Vec<u8>,
attributes: Vec<u8>
) -> Result<Vec<u8>>
Trait Implementations
impl AesmClientExt for AesmClient
[src]
impl Clone for AesmClient
[src]
fn clone(&self) -> AesmClient
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for AesmClient
[src]
fn default() -> AesmClient
[src]
impl Debug for AesmClient
[src]
Auto Trait Implementations
impl Unpin for AesmClient
impl Sync for AesmClient
impl Send for AesmClient
impl RefUnwindSafe for AesmClient
impl UnwindSafe for AesmClient
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,