pub struct SivmPolicy {
pub require_ephemeral_vmgs: bool,
pub require_secure_boot: bool,
pub require_secure_boot_vars: bool,
pub require_bcd_integrity: bool,
pub custom_uefi_json: Vec<u8>,
}Expand description
Sivm policy body.
Fields§
§require_ephemeral_vmgs: boolReserved: require an ephemeral VMGS. Not enforced at runtime yet.
require_secure_boot: boolRequire secure boot is enabled.
require_secure_boot_vars: boolReserved: require PK/KEK/db/dbx variables. Not enforced at runtime yet.
require_bcd_integrity: boolReserved: require BootConfigurationDataHash. Not enforced at runtime yet.
custom_uefi_json: Vec<u8>Custom UEFI JSON bytes (base64 in manifest JSON). Required in manifests and asserted non-empty at build time when secure boot plus secure-boot-vars or BCD-integrity are set;
Trait Implementations§
Source§impl Clone for SivmPolicy
impl Clone for SivmPolicy
Source§fn clone(&self) -> SivmPolicy
fn clone(&self) -> SivmPolicy
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 SivmPolicy
impl Debug for SivmPolicy
Source§impl Default for SivmPolicy
impl Default for SivmPolicy
Source§fn default() -> SivmPolicy
fn default() -> SivmPolicy
Returns the “default value” for a type. Read more
Source§impl DefaultEncoding for SivmPolicy
impl DefaultEncoding for SivmPolicy
Source§impl DescribeTable for SivmPolicy
impl DescribeTable for SivmPolicy
Source§const DESCRIPTION: MessageDescription<'static>
const DESCRIPTION: MessageDescription<'static>
The protobuf message description for this type.
Source§impl<'de> Deserialize<'de> for SivmPolicy
impl<'de> Deserialize<'de> for SivmPolicy
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 PartialEq for SivmPolicy
impl PartialEq for SivmPolicy
Source§impl Serialize for SivmPolicy
impl Serialize for SivmPolicy
Source§impl<'encoding, AnyR: 'static> StructDecodeMetadata<'encoding, AnyR> for SivmPolicy
impl<'encoding, AnyR: 'static> StructDecodeMetadata<'encoding, AnyR> for SivmPolicy
Source§impl<AnyR: 'static> StructEncodeMetadata<AnyR> for SivmPolicy
impl<AnyR: 'static> StructEncodeMetadata<AnyR> for SivmPolicy
Source§impl StructMetadata for SivmPolicy
impl StructMetadata for SivmPolicy
Source§impl UefiSecurityPolicy for SivmPolicy
impl UefiSecurityPolicy for SivmPolicy
impl StructuralPartialEq for SivmPolicy
Auto Trait Implementations§
impl Freeze for SivmPolicy
impl RefUnwindSafe for SivmPolicy
impl Send for SivmPolicy
impl Sync for SivmPolicy
impl Unpin for SivmPolicy
impl UnsafeUnpin for SivmPolicy
impl UnwindSafe for SivmPolicy
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> DescribedProtobuf for Twhere
T: DefaultEncoding + Protobuf,
<T as DefaultEncoding>::Encoding: DescribeMessage<T>,
impl<T> DescribedProtobuf for Twhere
T: DefaultEncoding + Protobuf,
<T as DefaultEncoding>::Encoding: DescribeMessage<T>,
§const DESCRIPTION: MessageDescription<'static>
const DESCRIPTION: MessageDescription<'static>
The message description.