[][src]Struct teaclave_types::EnclaveInfo

pub struct EnclaveInfo {
    pub measurements: HashMap<String, EnclaveMeasurement>,
}

Fields

measurements: HashMap<String, EnclaveMeasurement>

Methods

impl EnclaveInfo[src]

pub fn verify_and_new<T, U>(
    enclave_info: &[u8],
    public_keys: &[T],
    signatures: &[U]
) -> Result<Self> where
    T: AsRef<[u8]>,
    U: AsRef<[u8]>, 
[src]

pub fn from_bytes(enclave_info: &[u8]) -> Self[src]

pub fn verify<T, U>(
    enclave_info: &[u8],
    public_keys: &[T],
    signatures: &[U]
) -> bool where
    T: AsRef<[u8]>,
    U: AsRef<[u8]>, 
[src]

pub fn get_enclave_attr(&self, service_name: &str) -> Option<EnclaveAttr>[src]

Auto Trait Implementations

impl RefUnwindSafe for EnclaveInfo

impl Send for EnclaveInfo

impl Sync for EnclaveInfo

impl Unpin for EnclaveInfo

impl UnwindSafe for EnclaveInfo

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]