Exemple #1
0
 public void DictionaryAttackParameters(
     TpmHandle lockHandle,
     uint newMaxTries,
     uint newRecoveryTime,
     uint lockoutRecovery
 )
 {
     Tpm2DictionaryAttackParametersRequest inS = new Tpm2DictionaryAttackParametersRequest();
     inS.lockHandle = lockHandle;
     inS.newMaxTries = newMaxTries;
     inS.newRecoveryTime = newRecoveryTime;
     inS.lockoutRecovery = lockoutRecovery;
     TpmStructureBase outSBase;
     DispatchMethod(TpmCc.DictionaryAttackParameters, (TpmStructureBase) inS, typeof(Tpm2DictionaryAttackParametersResponse), out outSBase, 1, 0);
 }
Exemple #2
0
 public Tpm2DictionaryAttackParametersRequest(Tpm2DictionaryAttackParametersRequest the_Tpm2DictionaryAttackParametersRequest)
 {
     if((Object) the_Tpm2DictionaryAttackParametersRequest == null ) throw new ArgumentException(Globs.GetResourceString("parmError"));
     lockHandle = the_Tpm2DictionaryAttackParametersRequest.lockHandle;
     newMaxTries = the_Tpm2DictionaryAttackParametersRequest.newMaxTries;
     newRecoveryTime = the_Tpm2DictionaryAttackParametersRequest.newRecoveryTime;
     lockoutRecovery = the_Tpm2DictionaryAttackParametersRequest.lockoutRecovery;
 }