private PolicyPCR ( TpmHandle policySession, byte pcrDigest, PcrSelection pcrs ) : void | ||
policySession | TpmHandle | |
pcrDigest | byte | |
pcrs | PcrSelection | |
return | void |
internal override TpmRc Execute(Tpm2 tpm, AuthSession sess, PolicyTree policy) { tpm.PolicyPCR(sess, Pcrs.GetSelectionHash(policy.PolicyHash), Pcrs.GetPcrSelectionArray()); return(tpm._GetLastResponseCode()); }
// ReSharper disable once InconsistentNaming internal override TpmRc Execute(Tpm2 tpm, AuthSession policySession, PolicyTree policy) { tpm.PolicyPCR(policySession, Pcrs.GetSelectionHash(policy.PolicyHash.HashAlg), Pcrs.GetPcrSelectionArray()); return tpm._GetLastResponseCode(); }