pub struct QeIdentity<V: VerificationType = Verified> { /* private fields */ }
Implementations§
Source§impl QeIdentity
impl QeIdentity
Sourcepub fn find_tcb_level<'a>(&'a self, isvsvn: u16) -> Option<&'a TcbLevel>
pub fn find_tcb_level<'a>(&'a self, isvsvn: u16) -> Option<&'a TcbLevel>
Returns the most recent TCB level matching the isvsvn
pub fn mrsigner(&self) -> &[u8; 32]
pub fn isvprodid(&self) -> u16
pub fn attributes<'a>(&'a self) -> &'a Attributes
pub fn attributes_mask<'a>(&'a self) -> &'a Attributes
pub fn miscselect<'a>(&'a self) -> &'a Miscselect
pub fn miscselect_mask(&self) -> Miscselect
Source§impl<V: VerificationType> QeIdentity<V>
impl<V: VerificationType> QeIdentity<V>
pub fn tcb_evaluation_data_number(&self) -> u64
Trait Implementations§
Source§impl<V: Clone + VerificationType> Clone for QeIdentity<V>
impl<V: Clone + VerificationType> Clone for QeIdentity<V>
Source§fn clone(&self) -> QeIdentity<V>
fn clone(&self) -> QeIdentity<V>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<V: Debug + VerificationType> Debug for QeIdentity<V>
impl<V: Debug + VerificationType> Debug for QeIdentity<V>
Source§impl<'de> Deserialize<'de> for QeIdentity<Unverified>
impl<'de> Deserialize<'de> for QeIdentity<Unverified>
Source§fn deserialize<D>(deserializer: D) -> Result<QeIdentity<Unverified>, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<QeIdentity<Unverified>, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<V: VerificationType> Serialize for QeIdentity<V>
impl<V: VerificationType> Serialize for QeIdentity<V>
Source§impl TryFrom<&QeIdentitySigned> for QeIdentity<Unverified>
impl TryFrom<&QeIdentitySigned> for QeIdentity<Unverified>
Auto Trait Implementations§
impl<V> Freeze for QeIdentity<V>
impl<V> RefUnwindSafe for QeIdentity<V>where
V: RefUnwindSafe,
impl<V> Send for QeIdentity<V>where
V: Send,
impl<V> Sync for QeIdentity<V>where
V: Sync,
impl<V> Unpin for QeIdentity<V>where
V: Unpin,
impl<V> UnwindSafe for QeIdentity<V>where
V: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more