Tpm2Lib.TpmPolicyOr.Execute C# (CSharp) Method

Execute() private method

private Execute ( Tpm2 tpm, AuthSession authSession, PolicyTree policy ) : TpmRc
tpm Tpm2
authSession AuthSession
policy PolicyTree
return TpmRc
        internal override TpmRc Execute(Tpm2 tpm, AuthSession authSession, PolicyTree policy)
        {
            Tpm2bDigest[] branchList = GetPolicyHashArray(policy.PolicyHash.HashAlg);
            tpm.PolicyOR(authSession, branchList);
            return tpm._GetLastResponseCode();
        }