Struct tss_esapi::structures::SessionAuditInfo
source · pub struct SessionAuditInfo { /* private fields */ }
Expand description
This type holds the attested data for TPM2_GetSessionAuditDigest()
§Details
This corresponds to the TPMS_SESSION_AUDIT_INFO.
Implementations§
source§impl SessionAuditInfo
impl SessionAuditInfo
sourcepub fn exlusive_session(&self) -> bool
pub fn exlusive_session(&self) -> bool
Returns true if if all of the commands recorded in the sessionDigest were executed without any intervening TPM command that did not use this audit session
sourcepub const fn session_digest(&self) -> &Digest
pub const fn session_digest(&self) -> &Digest
Returns the current value of the session audit diges
Trait Implementations§
source§impl Clone for SessionAuditInfo
impl Clone for SessionAuditInfo
source§fn clone(&self) -> SessionAuditInfo
fn clone(&self) -> SessionAuditInfo
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 SessionAuditInfo
impl Debug for SessionAuditInfo
source§impl From<SessionAuditInfo> for TPMS_SESSION_AUDIT_INFO
impl From<SessionAuditInfo> for TPMS_SESSION_AUDIT_INFO
source§fn from(session_audit_info: SessionAuditInfo) -> Self
fn from(session_audit_info: SessionAuditInfo) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for SessionAuditInfo
impl RefUnwindSafe for SessionAuditInfo
impl Send for SessionAuditInfo
impl Sync for SessionAuditInfo
impl Unpin for SessionAuditInfo
impl UnwindSafe for SessionAuditInfo
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