PolicyNvWritten() приватный Метод

private PolicyNvWritten ( TpmHandle policySession, byte writtenSet ) : void
policySession TpmHandle
writtenSet byte
Результат void
Пример #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());
        }
Пример #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();
 }