Inheritance: TpmStructureBase
Beispiel #1
0
 public EccPoint EcEphemeral(
     EccCurve curveID,
     [SuppressMessage("Microsoft.Design", "CA1021")]
     out ushort counter
 )
 {
     Tpm2EcEphemeralRequest inS = new Tpm2EcEphemeralRequest();
     inS.curveID = curveID;
     TpmStructureBase outSBase;
     DispatchMethod(TpmCc.EcEphemeral, (TpmStructureBase) inS, typeof(Tpm2EcEphemeralResponse), out outSBase, 0, 0);
     Tpm2EcEphemeralResponse outS = (Tpm2EcEphemeralResponse) outSBase;
     counter = outS.counter;
     return outS.Q;
 }
Beispiel #2
0
 public Tpm2EcEphemeralRequest(Tpm2EcEphemeralRequest the_Tpm2EcEphemeralRequest)
 {
     if((Object) the_Tpm2EcEphemeralRequest == null ) throw new ArgumentException(Globs.GetResourceString("parmError"));
     curveID = the_Tpm2EcEphemeralRequest.curveID;
 }