Struct tss_esapi::attributes::object::ObjectAttributes
source · pub struct ObjectAttributes(pub TPMA_OBJECT);Expand description
Bitfield representing the object attributes.
Tuple Fields§
§0: TPMA_OBJECTImplementations§
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 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<ObjectAttributes> for ObjectAttributes
impl PartialEq<ObjectAttributes> 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 ==.