Struct TpmBlobs
#[non_exhaustive]pub struct TpmBlobs {
pub public_key: Option<Vec<u8>>,
pub private_key: Option<Vec<u8>>,
pub policy: Option<JsonValue>,
}Expand description
Contains the public and/or private BLOBs of a TPM object.
Instances of this struct are returned by the FapiContext::get_tpm_blobs() function.
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.public_key: Option<Vec<u8>>§private_key: Option<Vec<u8>>§policy: Option<JsonValue>Implementations§
Auto Trait Implementations§
impl Freeze for TpmBlobs
impl RefUnwindSafe for TpmBlobs
impl Send for TpmBlobs
impl Sync for TpmBlobs
impl Unpin for TpmBlobs
impl UnsafeUnpin for TpmBlobs
impl UnwindSafe for TpmBlobs
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