pub struct TpmaObject(/* private fields */);Expand description
TPMA_OBJECT
Implementations§
Source§impl TpmaObject
impl TpmaObject
Sourcepub const FIXED_PARENT: Self
pub const FIXED_PARENT: Self
Parent is immutable
Sourcepub const SENSITIVE_DATA_ORIGIN: Self
pub const SENSITIVE_DATA_ORIGIN: Self
TPM-only generated secrets
Sourcepub const USER_WITH_AUTH: Self
pub const USER_WITH_AUTH: Self
Allow user access without policy session
Sourcepub const ADMIN_WITH_POLICY: Self
pub const ADMIN_WITH_POLICY: Self
Deny admin access without policy session
Sourcepub const ENCRYPTED_DUPLICATION: Self
pub const ENCRYPTED_DUPLICATION: Self
Encrypted duplication
Sourcepub const RESTRICTED: Self
pub const RESTRICTED: Self
Manipulate only datas of known format
Sourcepub const SIGN_ENCRYPT: Self
pub const SIGN_ENCRYPT: Self
Sign with the private key (for asymmetric keys) or encrypt (for symmetric keys)
pub const fn bits(&self) -> u32
pub const fn from_bits_truncate(bits: u32) -> Self
pub const fn empty() -> Self
pub const fn contains(&self, other: Self) -> bool
Trait Implementations§
Source§impl BitOr for TpmaObject
impl BitOr for TpmaObject
Source§impl BitOrAssign for TpmaObject
impl BitOrAssign for TpmaObject
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl Clone for TpmaObject
impl Clone for TpmaObject
Source§fn clone(&self) -> TpmaObject
fn clone(&self) -> TpmaObject
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 TpmaObject
impl Debug for TpmaObject
Source§impl Default for TpmaObject
impl Default for TpmaObject
Source§fn default() -> TpmaObject
fn default() -> TpmaObject
Returns the “default value” for a type. Read more
Source§impl Hash for TpmaObject
impl Hash for TpmaObject
Source§impl Ord for TpmaObject
impl Ord for TpmaObject
Source§fn cmp(&self, other: &TpmaObject) -> Ordering
fn cmp(&self, other: &TpmaObject) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TpmaObject
impl PartialEq for TpmaObject
Source§impl PartialOrd for TpmaObject
impl PartialOrd for TpmaObject
Source§impl TpmBuild for TpmaObject
impl TpmBuild for TpmaObject
Source§impl<'a> TpmParse<'a> for TpmaObject
impl<'a> TpmParse<'a> for TpmaObject
Source§impl TpmSized for TpmaObject
impl TpmSized for TpmaObject
impl Copy for TpmaObject
impl Eq for TpmaObject
impl StructuralPartialEq for TpmaObject
Auto Trait Implementations§
impl Freeze for TpmaObject
impl RefUnwindSafe for TpmaObject
impl Send for TpmaObject
impl Sync for TpmaObject
impl Unpin for TpmaObject
impl UnwindSafe for TpmaObject
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