public AlgorithmDetailEcc EccParameters( EccCurve curveID ) { Tpm2EccParametersRequest inS = new Tpm2EccParametersRequest(); inS.curveID = curveID; TpmStructureBase outSBase; DispatchMethod(TpmCc.EccParameters, (TpmStructureBase) inS, typeof(Tpm2EccParametersResponse), out outSBase, 0, 0); Tpm2EccParametersResponse outS = (Tpm2EccParametersResponse) outSBase; return outS.parameters; }
public Tpm2EccParametersRequest(Tpm2EccParametersRequest the_Tpm2EccParametersRequest) { if((Object) the_Tpm2EccParametersRequest == null ) throw new ArgumentException(Globs.GetResourceString("parmError")); curveID = the_Tpm2EccParametersRequest.curveID; }