pub enum Hierarchy {
Owner,
Platform,
Endorsement,
}Expand description
A TPM 2.0 hierarchy. Maps to the three persistent hierarchies defined by the TPM 2.0 specification: owner, platform, and endorsement. The parent key under which Confium wraps its sealed objects lives in one of these.
Wire form is the lowercase ASCII name (see Hierarchy::from_wire).
Variants§
Owner
The owner hierarchy (TPM_RH_OWNER). Default for Confium;
parent key authorisation usually uses an empty auth value.
Platform
The platform hierarchy (TPM_RH_PLATFORM). Controlled by the
platform firmware; clears on every reboot.
Endorsement
The endorsement hierarchy (TPM_RH_ENDORSEMENT). Used for
privacy-sensitive operations (attestation, EK-derived keys).
Implementations§
Trait Implementations§
impl Copy for Hierarchy
impl Eq for Hierarchy
impl StructuralPartialEq for Hierarchy
Auto Trait Implementations§
impl Freeze for Hierarchy
impl RefUnwindSafe for Hierarchy
impl Send for Hierarchy
impl Sync for Hierarchy
impl Unpin for Hierarchy
impl UnsafeUnpin for Hierarchy
impl UnwindSafe for Hierarchy
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