Struct tss_esapi::attributes::object::ObjectAttributes
source · pub struct ObjectAttributes(pub TPMA_OBJECT);
Expand description
Bitfield representing the object attributes.
Tuple Fields§
§0: TPMA_OBJECT
Implementations§
source§impl ObjectAttributes
impl ObjectAttributes
pub fn fixed_tpm(&self) -> bool
pub fn st_clear(&self) -> bool
pub fn fixed_parent(&self) -> bool
pub fn sensitive_data_origin(&self) -> bool
pub fn user_with_auth(&self) -> bool
pub fn admin_with_policy(&self) -> bool
pub fn no_da(&self) -> bool
pub fn encrypted_duplication(&self) -> bool
pub fn restricted(&self) -> bool
pub fn decrypt(&self) -> bool
pub fn sign_encrypt(&self) -> bool
pub fn x509_sign(&self) -> bool
source§impl ObjectAttributes
impl ObjectAttributes
sourcepub fn new_fixed_parent_key() -> Self
pub fn new_fixed_parent_key() -> Self
Function for creating attributes for a fixed parent key object.
sourcepub fn new_fixed_signing_key() -> Self
pub fn new_fixed_signing_key() -> Self
Function for creating attributes for a fixed signing key object.
sourcepub const fn builder() -> ObjectAttributesBuilder
pub const fn builder() -> ObjectAttributesBuilder
Get a builder for the structure
Trait Implementations§
source§impl<T> BitRange<T> for ObjectAttributeswhere
TPMA_OBJECT: BitRange<T>,
impl<T> BitRange<T> for ObjectAttributeswhere
TPMA_OBJECT: BitRange<T>,
source§impl<T> BitRangeMut<T> for ObjectAttributeswhere
TPMA_OBJECT: BitRangeMut<T>,
impl<T> BitRangeMut<T> for ObjectAttributeswhere
TPMA_OBJECT: BitRangeMut<T>,
source§fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
fn set_bit_range(&mut self, msb: usize, lsb: usize, value: T)
Set a range of bits.
source§impl Clone for ObjectAttributes
impl Clone for ObjectAttributes
source§fn clone(&self) -> ObjectAttributes
fn clone(&self) -> ObjectAttributes
Returns a copy 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 ObjectAttributes
impl Debug for ObjectAttributes
source§impl From<ObjectAttributes> for TPMA_OBJECT
impl From<ObjectAttributes> for TPMA_OBJECT
source§fn from(object_attributes: ObjectAttributes) -> Self
fn from(object_attributes: ObjectAttributes) -> Self
Converts to this type from the input type.
source§impl From<u32> for ObjectAttributes
impl From<u32> for ObjectAttributes
source§fn from(tpma_object: TPMA_OBJECT) -> Self
fn from(tpma_object: TPMA_OBJECT) -> Self
Converts to this type from the input type.
source§impl PartialEq for ObjectAttributes
impl PartialEq for ObjectAttributes
source§fn eq(&self, other: &ObjectAttributes) -> bool
fn eq(&self, other: &ObjectAttributes) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ObjectAttributes
impl Eq for ObjectAttributes
impl StructuralPartialEq for ObjectAttributes
Auto Trait Implementations§
impl Freeze for ObjectAttributes
impl RefUnwindSafe for ObjectAttributes
impl Send for ObjectAttributes
impl Sync for ObjectAttributes
impl Unpin for ObjectAttributes
impl UnwindSafe for ObjectAttributes
Blanket Implementations§
source§impl<T> BitMut for Twhere
T: BitRangeMut<u8>,
impl<T> BitMut for Twhere
T: BitRangeMut<u8>,
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