Struct tss_esapi::structures::CommandAuditInfo
source · [−]pub struct CommandAuditInfo { /* private fields */ }Expand description
Structure holding the attested data for TPM2_GetCommandAuditDigest().
Details
This corresponds to the TPMS_COMMAND_AUDIT_INFO
Implementations
sourceimpl CommandAuditInfo
impl CommandAuditInfo
sourcepub const fn audit_counter(&self) -> u64
pub const fn audit_counter(&self) -> u64
Returns the audit counter
sourcepub const fn hashing_algorithm(&self) -> HashingAlgorithm
pub const fn hashing_algorithm(&self) -> HashingAlgorithm
Returns the hash algorithm used for the command audit
sourcepub const fn audit_digest(&self) -> &Digest
pub const fn audit_digest(&self) -> &Digest
Returns the audit digest
sourcepub const fn command_digest(&self) -> &Digest
pub const fn command_digest(&self) -> &Digest
Returns the command digest
Trait Implementations
sourceimpl Clone for CommandAuditInfo
impl Clone for CommandAuditInfo
sourcefn clone(&self) -> CommandAuditInfo
fn clone(&self) -> CommandAuditInfo
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 CommandAuditInfo
impl Debug for CommandAuditInfo
sourceimpl From<CommandAuditInfo> for TPMS_COMMAND_AUDIT_INFO
impl From<CommandAuditInfo> for TPMS_COMMAND_AUDIT_INFO
sourcefn from(command_audit_info: CommandAuditInfo) -> Self
fn from(command_audit_info: CommandAuditInfo) -> Self
Converts to this type from the input type.
Auto Trait Implementations
impl RefUnwindSafe for CommandAuditInfo
impl Send for CommandAuditInfo
impl Sync for CommandAuditInfo
impl Unpin for CommandAuditInfo
impl UnwindSafe for CommandAuditInfo
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