public EccPoint EcdhKeyGen(
TpmHandle keyHandle,
[SuppressMessage("Microsoft.Design", "CA1021")]
out EccPoint pubPoint
)
{
Tpm2EcdhKeyGenRequest inS = new Tpm2EcdhKeyGenRequest();
inS.keyHandle = keyHandle;
TpmStructureBase outSBase;
DispatchMethod(TpmCc.EcdhKeyGen, (TpmStructureBase) inS, typeof(Tpm2EcdhKeyGenResponse), out outSBase, 1, 0);
Tpm2EcdhKeyGenResponse outS = (Tpm2EcdhKeyGenResponse) outSBase;
pubPoint = outS.pubPoint;
return outS.zPoint;
}
/// <summary>