PolicyCommandCode() private method

private PolicyCommandCode ( TpmHandle policySession, TpmCc code ) : void
policySession TpmHandle
code TpmCc
return void
Esempio n. 1
0
 internal override TpmRc Execute(Tpm2 tpm, AuthSession sess, PolicyTree policy)
 {
     tpm.PolicyCommandCode(sess, AllowedCommand);
     return(tpm._GetLastResponseCode());
 }
Esempio n. 2
0
 // ReSharper disable once InconsistentNaming
 internal override TpmRc Execute(Tpm2 tpm, AuthSession authSession, PolicyTree policy)
 {
     tpm.PolicyCommandCode(authSession, AllowedCommand);
     return tpm._GetLastResponseCode();
 }