Struct teaclave_types::EnclaveInfo
source · [−]pub struct EnclaveInfo {
pub measurements: HashMap<String, EnclaveMeasurement>,
}
Fields
measurements: HashMap<String, EnclaveMeasurement>
Implementations
sourceimpl EnclaveInfo
impl EnclaveInfo
pub fn verify_and_new<T, U>(
enclave_info: &[u8],
public_keys: &[T],
signatures: &[U]
) -> Result<Self>where
T: AsRef<[u8]>,
U: AsRef<[u8]>,
pub fn from_bytes(enclave_info: &[u8]) -> Self
pub fn verify<T, U>(
enclave_info: &[u8],
public_keys: &[T],
signatures: &[U]
) -> boolwhere
T: AsRef<[u8]>,
U: AsRef<[u8]>,
pub fn get_enclave_attr(&self, service_name: &str) -> Option<EnclaveAttr>
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> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstablefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
sourcefn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request