pub fn pcr_bank(&self, hashing_algorithm: HashingAlgorithm) -> Option<&PcrBank> {
        self.data
            .iter()
            .find(|(alg, _)| alg == &hashing_algorithm)
            .map(|(_, bank)| bank)
    }
/// Function for retrieving the first PCR values associated with hashing_algorithm.
Function for retrieving the first PCR values associated with hashing_algorithm.
Function for retrieving the first PCR values associated with hashing_algorithm .
pub fn pcr_bank(&self, hashing_algorithm: HashingAlgorithm) -> Option<&PcrBank> {
        self.data
            .iter()
            .find(|(alg, _)| alg == &hashing_algorithm)
            .map(|(_, bank)| bank)
    }
pub fn pcr_bank ( & self , hashing_algorithm : HashingAlgorithm ) -> Option < & PcrBank > { self . data . iter ( ) . find ( | ( alg , _ ) | alg == & hashing_algorithm ) . map ( | ( _ , bank ) | bank ) }
Function for retrieving the first PCR values associated with hashing_algorithm.
Function for retrieving the first PCR values associated with hashing_algorithm .
&self
hashing_algorithm
HashingAlgorithm
&self
hashing_algorithm
HashingAlgorithm