Struct aesm_client::AesmClient [−][src]
Implementations
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]
Obtain target info from QE.
pub fn get_quote(
&self,
report: Vec<u8>,
spid: Vec<u8>,
sig_rl: Vec<u8>,
quote_type: QuoteType,
nonce: Vec<u8>
) -> Result<QuoteResult>[src]
&self,
report: Vec<u8>,
spid: Vec<u8>,
sig_rl: Vec<u8>,
quote_type: QuoteType,
nonce: Vec<u8>
) -> Result<QuoteResult>
Obtain remote attestation quote from QE.
pub fn get_supported_att_key_ids(&self) -> Result<Vec<Vec<u8>>>[src]
Returns all keys supported by AESM service.
pub fn init_quote_ex(&self, att_key_id: Vec<u8>) -> Result<QuoteInfo>[src]
Obtain target info from QE.
Like init_quote, but allows specifying the attestation key id.
pub fn get_quote_ex(
&self,
att_key_id: Vec<u8>,
report: Vec<u8>,
target_info: Option<Vec<u8>>,
nonce: Vec<u8>
) -> Result<QuoteResult>[src]
&self,
att_key_id: Vec<u8>,
report: Vec<u8>,
target_info: Option<Vec<u8>>,
nonce: Vec<u8>
) -> Result<QuoteResult>
Obtain remote attestation quote from QE.
Like get_quote, but allows specifying the attestation key id.
If target_info is not supplied, it’s determined from report so that
the quote may be verified by the enclave it’s for.
Trait Implementations
impl AesmClientExt for AesmClient[src]
impl Clone for AesmClient[src]
fn clone(&self) -> AesmClient[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for AesmClient[src]
impl Default for AesmClient[src]
fn default() -> AesmClient[src]
Auto Trait Implementations
impl RefUnwindSafe for AesmClient
impl Send for AesmClient
impl Sync for AesmClient
impl Unpin for AesmClient
impl UnwindSafe for AesmClient
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
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.
pub 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>,