pub enum HardwareSealingPolicy {
None,
Hash,
Signer,
}Expand description
Hardware sealing policy
Selects how the hardware-derived key used to seal the VMGS DEK is computed (e.g. whether the OpenHCL measurement is mixed into the derivation).
On CVMs the policy governs the hardware-sealing-based VMGS DEK backup by
default. When GuestStateEncryptionPolicy::HardwareSealing is selected
(stateless mode, i.e. no_persistent_secrets is true), the same policy
governs the exclusive hardware sealing that becomes the sole source of the
VMGS DEK.
Variants§
Trait Implementations§
Source§impl Clone for HardwareSealingPolicy
impl Clone for HardwareSealingPolicy
Source§fn clone(&self) -> HardwareSealingPolicy
fn clone(&self) -> HardwareSealingPolicy
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 Debug for HardwareSealingPolicy
impl Debug for HardwareSealingPolicy
Source§impl Default for HardwareSealingPolicy
impl Default for HardwareSealingPolicy
Source§fn default() -> HardwareSealingPolicy
fn default() -> HardwareSealingPolicy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for HardwareSealingPolicy
impl<'de> Deserialize<'de> for HardwareSealingPolicy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for HardwareSealingPolicy
impl Serialize for HardwareSealingPolicy
impl Copy for HardwareSealingPolicy
Auto Trait Implementations§
impl Freeze for HardwareSealingPolicy
impl RefUnwindSafe for HardwareSealingPolicy
impl Send for HardwareSealingPolicy
impl Sync for HardwareSealingPolicy
impl Unpin for HardwareSealingPolicy
impl UnsafeUnpin for HardwareSealingPolicy
impl UnwindSafe for HardwareSealingPolicy
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