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
sourceimpl 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
sourceimpl 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
sourceimpl<T> BitRange<T> for ObjectAttributes where
TPMA_OBJECT: BitRange<T>,
impl<T> BitRange<T> for ObjectAttributes where
TPMA_OBJECT: BitRange<T>,
sourceimpl Clone for ObjectAttributes
impl Clone for ObjectAttributes
sourcefn clone(&self) -> ObjectAttributes
fn clone(&self) -> ObjectAttributes
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for ObjectAttributes
impl Debug for ObjectAttributes
sourceimpl From<ObjectAttributes> for TPMA_OBJECT
impl From<ObjectAttributes> for TPMA_OBJECT
sourcefn from(object_attributes: ObjectAttributes) -> Self
fn from(object_attributes: ObjectAttributes) -> Self
Converts to this type from the input type.
sourceimpl From<u32> for ObjectAttributes
impl From<u32> for ObjectAttributes
sourcefn from(tpma_object: TPMA_OBJECT) -> Self
fn from(tpma_object: TPMA_OBJECT) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<ObjectAttributes> for ObjectAttributes
impl PartialEq<ObjectAttributes> for ObjectAttributes
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &ObjectAttributes) -> bool
fn ne(&self, other: &ObjectAttributes) -> bool
This method tests for !=.
impl Copy for ObjectAttributes
impl Eq for ObjectAttributes
impl StructuralEq for ObjectAttributes
impl StructuralPartialEq for ObjectAttributes
Auto Trait Implementations
impl RefUnwindSafe for ObjectAttributes
impl Send for ObjectAttributes
impl Sync for ObjectAttributes
impl Unpin for ObjectAttributes
impl UnwindSafe for ObjectAttributes
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more