internal override TpmRc Execute(Tpm2 tpm, AuthSession sess, PolicyTree policy) { tpm.PolicyPassword(sess); sess.SessIncludesAuth = true; sess.PlaintextAuth = true; return(tpm._GetLastResponseCode()); }
// ReSharper disable once InconsistentNaming internal override TpmRc Execute(Tpm2 tpm, AuthSession authSession, PolicyTree policy) { tpm.PolicyPassword(authSession); authSession.SessIncludesAuth = true; authSession.PlaintextAuth = true; return tpm._GetLastResponseCode(); }