pub struct PckExtension {
pub ppid: Vec<u8>,
pub cpu_svn: CpuSvn,
pub pce_svn: Svn,
pub pce_id: Vec<u8>,
pub fmspc: Fmspc,
pub sgx_type: u64,
pub platform_instance_id: Option<Vec<u8>>,
pub raw_extension: Vec<u8>,
pub dynamic_platform: Option<bool>,
pub cached_keys: Option<bool>,
pub smt_enabled: Option<bool>,
}Expand description
Parsed values from the Intel SGX extension in a PCK certificate.
Fields§
§ppid: Vec<u8>§cpu_svn: CpuSvn§pce_svn: Svn§pce_id: Vec<u8>§fmspc: Fmspc§sgx_type: u64§platform_instance_id: Option<Vec<u8>>§raw_extension: Vec<u8>§dynamic_platform: Option<bool>Whether the platform can be extended with additional packages
(Platform CA certs only; None for Processor CA certs)
cached_keys: Option<bool>Whether platform root keys are cached by SGX Registration Backend
(Platform CA certs only; None for Processor CA certs)
smt_enabled: Option<bool>Whether SMT (simultaneous multithreading / hyperthreading) is enabled
(Platform CA certs only; None for Processor CA certs)
Implementations§
Source§impl PckExtension
impl PckExtension
Trait Implementations§
Source§impl Clone for PckExtension
impl Clone for PckExtension
Source§fn clone(&self) -> PckExtension
fn clone(&self) -> PckExtension
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PckExtension
impl Debug for PckExtension
impl Eq for PckExtension
Source§impl PartialEq for PckExtension
impl PartialEq for PckExtension
impl StructuralPartialEq for PckExtension
Auto Trait Implementations§
impl Freeze for PckExtension
impl RefUnwindSafe for PckExtension
impl Send for PckExtension
impl Sync for PckExtension
impl Unpin for PckExtension
impl UnsafeUnpin for PckExtension
impl UnwindSafe for PckExtension
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more