pub fn validate_expected_pcrs<T: PCRProvider>(
attestation_doc: &AttestationDoc,
expected_pcrs: &T,
) -> AttestationResult<()>
Expand description
Parses the PCRs from the attestation doc and compares against the expected values
§Errors
Returns an error if any of the expected PCRs are missing from the attestation document, or if the expected PCRs don’t match the values embedded in the doc