#[non_exhaustive]pub struct InitialStateConfig {
pub dbs: Vec<FileContentBuffer>,
pub dbxs: Vec<FileContentBuffer>,
pub keks: Vec<FileContentBuffer>,
pub pk: Option<FileContentBuffer>,
/* private fields */
}Available on crate features
image-family-views or images or instance-templates or instances or machine-images or region-instance-templates or region-instances only.Expand description
Initial State for shielded instance, these are public keys which are safe to store in public
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.dbs: Vec<FileContentBuffer>The Key Database (db).
dbxs: Vec<FileContentBuffer>The forbidden key database (dbx).
keks: Vec<FileContentBuffer>The Key Exchange Key (KEK).
pk: Option<FileContentBuffer>The Platform Key (PK).
Implementations§
Source§impl InitialStateConfig
impl InitialStateConfig
pub fn new() -> Self
Sourcepub fn set_pk<T>(self, v: T) -> Selfwhere
T: Into<FileContentBuffer>,
pub fn set_pk<T>(self, v: T) -> Selfwhere
T: Into<FileContentBuffer>,
Sourcepub fn set_or_clear_pk<T>(self, v: Option<T>) -> Selfwhere
T: Into<FileContentBuffer>,
pub fn set_or_clear_pk<T>(self, v: Option<T>) -> Selfwhere
T: Into<FileContentBuffer>,
Trait Implementations§
Source§impl Clone for InitialStateConfig
impl Clone for InitialStateConfig
Source§fn clone(&self) -> InitialStateConfig
fn clone(&self) -> InitialStateConfig
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 InitialStateConfig
impl Debug for InitialStateConfig
Source§impl Default for InitialStateConfig
impl Default for InitialStateConfig
Source§fn default() -> InitialStateConfig
fn default() -> InitialStateConfig
Returns the “default value” for a type. Read more
Source§impl Message for InitialStateConfig
impl Message for InitialStateConfig
Source§impl PartialEq for InitialStateConfig
impl PartialEq for InitialStateConfig
impl StructuralPartialEq for InitialStateConfig
Auto Trait Implementations§
impl !Freeze for InitialStateConfig
impl RefUnwindSafe for InitialStateConfig
impl Send for InitialStateConfig
impl Sync for InitialStateConfig
impl Unpin for InitialStateConfig
impl UnwindSafe for InitialStateConfig
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