Exemplo n.º 1
0
 public void ClockRateAdjust(
     TpmHandle auth,
     ClockAdjust rateAdjust
 )
 {
     Tpm2ClockRateAdjustRequest inS = new Tpm2ClockRateAdjustRequest();
     inS.auth = auth;
     inS.rateAdjust = rateAdjust;
     TpmStructureBase outSBase;
     DispatchMethod(TpmCc.ClockRateAdjust, (TpmStructureBase) inS, typeof(Tpm2ClockRateAdjustResponse), out outSBase, 1, 0);
 }
Exemplo n.º 2
0
 public Tpm2ClockRateAdjustRequest(Tpm2ClockRateAdjustRequest the_Tpm2ClockRateAdjustRequest)
 {
     if((Object) the_Tpm2ClockRateAdjustRequest == null ) throw new ArgumentException(Globs.GetResourceString("parmError"));
     auth = the_Tpm2ClockRateAdjustRequest.auth;
     rateAdjust = the_Tpm2ClockRateAdjustRequest.rateAdjust;
 }
Exemplo n.º 3
0
 ///<param name = "the_auth">TPM_RH_OWNER or TPM_RH_PLATFORM+{PP} Auth Handle: 1 Auth Role: USER</param>
 ///<param name = "the_rateAdjust">Adjustment to current Clock update rate</param>
 public Tpm2ClockRateAdjustRequest(
 TpmHandle the_auth,
 ClockAdjust the_rateAdjust
 )
 {
     this.auth = the_auth;
     this.rateAdjust = the_rateAdjust;
 }
Exemplo n.º 4
0
 public Tpm2ClockRateAdjustRequest()
 {
     auth = new TpmHandle();
     rateAdjust = new ClockAdjust();
 }