public TpmHash GetPolicyDigest() { PolicyAce dummyAce = null; if (null == PolicyRoot) { return(new TpmHash(PolicyHash.HashAlg)); } // First, check that the tree is OK. An exception is thrown if checks fail. CheckPolicy("", ref dummyAce); return(PolicyRoot.GetPolicyDigest(PolicyHash.HashAlg)); }