Expand description
Measured product policy: enum, per-VM value, codec.
To add a product: define its body in a sibling module, then add
one N => Variant(body::Body), line to define_product_policy!
below. N is a mesh wire tag and must never be reused.
Re-exports§
pub use uefi_security_policy::UefiSecurityPolicy;
Modules§
- cwcow
- Cwcow policy body and validation methods.
- product_
policy_ helpers - Shared helpers for product policy validation and serialization. Shared helpers for product policy validation and serialization.
- sivm
- Sivm policy body and validation methods.
Sivm policy body and validation methods. Accessor
MeasuredProductPolicy::sivmis generated bydefine_product_policy!inlib.rs. - uefi_
security_ policy - UEFI enforced security settings. Shared validation for the currently enforced UEFI product-policy checks (secure-boot-required), used by product policy variants (Sivm, Cwcow, etc.).
Structs§
- Measured
Product Policy - Per-VM measured product policy.
Enums§
- Product
Policy - Measured product policy. Mesh tags are part of the wire format and must never be reused.
- Product
Policy Decode Error - Errors from
decode_product_policy.
Functions§
- decode_
product_ policy - Decode
mesh_protobufbytes. Caller must skip empty payloads (which signal “no policy installed”) before calling. - encode_
product_ policy - Encode a policy as
mesh_protobufbytes for the IGVM payload.