Struct tss_esapi::abstraction::pcr::PcrData
source · pub struct PcrData { /* private fields */ }
Expand description
Struct holding pcr banks and their associated hashing algorithm
Implementations§
source§impl PcrData
impl PcrData
sourcepub fn create(
pcr_selection_list: &PcrSelectionList,
digest_list: &DigestList
) -> Result<PcrData>
pub fn create( pcr_selection_list: &PcrSelectionList, digest_list: &DigestList ) -> Result<PcrData>
Function for creating PcrData from a pcr selection list and pcr digests list.
sourcepub fn add(
&mut self,
pcr_selection_list: &PcrSelectionList,
digest_list: &DigestList
) -> Result<()>
pub fn add( &mut self, pcr_selection_list: &PcrSelectionList, digest_list: &DigestList ) -> Result<()>
Adds data to the PcrData
sourcepub fn pcr_bank(&self, hashing_algorithm: HashingAlgorithm) -> Option<&PcrBank>
pub fn pcr_bank(&self, hashing_algorithm: HashingAlgorithm) -> Option<&PcrBank>
Function for retrieving the first PCR values associated with hashing_algorithm.
Trait Implementations§
source§impl IntoIterator for PcrData
impl IntoIterator for PcrData
source§impl PartialEq for PcrData
impl PartialEq for PcrData
impl Eq for PcrData
impl StructuralPartialEq for PcrData
Auto Trait Implementations§
impl Freeze for PcrData
impl RefUnwindSafe for PcrData
impl Send for PcrData
impl Sync for PcrData
impl Unpin for PcrData
impl UnwindSafe for PcrData
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