Inheritance: TpmStructureBase
Example #1
0
 public EccPoint ZGen2Phase(
     TpmHandle keyA,
     EccPoint inQsB,
     EccPoint inQeB,
     TpmAlgId inScheme,
     ushort counter,
     [SuppressMessage("Microsoft.Design", "CA1021")]
     out EccPoint outZ2
 )
 {
     Tpm2ZGen2PhaseRequest inS = new Tpm2ZGen2PhaseRequest();
     inS.keyA = keyA;
     inS.inQsB = inQsB;
     inS.inQeB = inQeB;
     inS.inScheme = inScheme;
     inS.counter = counter;
     TpmStructureBase outSBase;
     DispatchMethod(TpmCc.ZGen2Phase, (TpmStructureBase) inS, typeof(Tpm2ZGen2PhaseResponse), out outSBase, 1, 0);
     Tpm2ZGen2PhaseResponse outS = (Tpm2ZGen2PhaseResponse) outSBase;
     outZ2 = outS.outZ2;
     return outS.outZ1;
 }
Example #2
0
 public Tpm2ZGen2PhaseRequest(Tpm2ZGen2PhaseRequest the_Tpm2ZGen2PhaseRequest)
 {
     if((Object) the_Tpm2ZGen2PhaseRequest == null ) throw new ArgumentException(Globs.GetResourceString("parmError"));
     keyA = the_Tpm2ZGen2PhaseRequest.keyA;
     inQsB = the_Tpm2ZGen2PhaseRequest.inQsB;
     inQeB = the_Tpm2ZGen2PhaseRequest.inQeB;
     inScheme = the_Tpm2ZGen2PhaseRequest.inScheme;
     counter = the_Tpm2ZGen2PhaseRequest.counter;
 }