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§
source§impl 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§
source§impl Clone for CommandAuditInfo
impl Clone for CommandAuditInfo
source§fn clone(&self) -> CommandAuditInfo
fn clone(&self) -> CommandAuditInfo
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 CommandAuditInfo
impl Debug for CommandAuditInfo
source§impl From<CommandAuditInfo> for TPMS_COMMAND_AUDIT_INFO
impl From<CommandAuditInfo> for TPMS_COMMAND_AUDIT_INFO
source§fn 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 Freeze for CommandAuditInfo
impl RefUnwindSafe for CommandAuditInfo
impl Send for CommandAuditInfo
impl Sync for CommandAuditInfo
impl Unpin for CommandAuditInfo
impl UnwindSafe for CommandAuditInfo
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