PolicyNvWritten() private method

private PolicyNvWritten ( TpmHandle policySession, byte writtenSet ) : void
policySession TpmHandle
writtenSet byte
return void
Esempio n. 1
0
        internal override TpmRc Execute(Tpm2 tpm, AuthSession sess, PolicyTree policy)
        {
            byte writtenName = IsNvIndexRequiredToHaveBeenWritten ? (byte)1 : (byte)0;

            tpm.PolicyNvWritten(sess, writtenName);
            return(tpm._GetLastResponseCode());
        }
Esempio n. 2
0
 // ReSharper disable once InconsistentNaming
 internal override TpmRc Execute(Tpm2 tpm, AuthSession authSession, PolicyTree policy)
 {
     byte writtenName = IsNvIndexRequiredToHaveBeenWritten ? (byte)1 : (byte)0;
     tpm.PolicyNvWritten(authSession, writtenName);
     return tpm._GetLastResponseCode();
 }