Esempio n. 1
0
 public void SetAlgorithmSet(
     TpmHandle authHandle,
     uint algorithmSet
 )
 {
     Tpm2SetAlgorithmSetRequest inS = new Tpm2SetAlgorithmSetRequest();
     inS.authHandle = authHandle;
     inS.algorithmSet = algorithmSet;
     TpmStructureBase outSBase;
     DispatchMethod(TpmCc.SetAlgorithmSet, (TpmStructureBase) inS, typeof(Tpm2SetAlgorithmSetResponse), out outSBase, 1, 0);
 }
Esempio n. 2
0
 public Tpm2SetAlgorithmSetRequest(Tpm2SetAlgorithmSetRequest the_Tpm2SetAlgorithmSetRequest)
 {
     if((Object) the_Tpm2SetAlgorithmSetRequest == null ) throw new ArgumentException(Globs.GetResourceString("parmError"));
     authHandle = the_Tpm2SetAlgorithmSetRequest.authHandle;
     algorithmSet = the_Tpm2SetAlgorithmSetRequest.algorithmSet;
 }