Tpm2Lib.TpmPolicyPcr.Execute C# (CSharp) Method

Execute() private method

private Execute ( Tpm2 tpm, AuthSession policySession, PolicyTree policy ) : TpmRc
tpm Tpm2
policySession AuthSession
policy PolicyTree
return TpmRc
        internal override TpmRc Execute(Tpm2 tpm, AuthSession policySession, PolicyTree policy)
        {
            tpm.PolicyPCR(policySession, Pcrs.GetSelectionHash(policy.PolicyHash.HashAlg), Pcrs.GetPcrSelectionArray());
            return tpm._GetLastResponseCode();
        }