Example #1
0
 public Tbs(Tpm2Device theUnderlyingTpm, bool tpmHasRm)
 {
     TpmDevice      = theUnderlyingTpm;
     Tpm            = new Tpm2(TpmDevice);
     ContextManager = new ObjectContextManager();
     if (!tpmHasRm)
     {
         CleanTpm();
     }
 }
Example #2
0
 public Tbs(Tpm2Device theUnderlyingTpm, bool tpmHasRm)
 {
     TpmDevice = theUnderlyingTpm;
     Tpm = new Tpm2(TpmDevice);
     ContextManager = new ObjectContextManager();
     if (!tpmHasRm)
     {
         CleanTpm();
     }
 }