public TpmHash FieldUpgradeData( byte[] fuData, [SuppressMessage("Microsoft.Design", "CA1021")] out TpmHash firstDigest ) { Tpm2FieldUpgradeDataRequest inS = new Tpm2FieldUpgradeDataRequest(); inS.fuData = fuData; TpmStructureBase outSBase; DispatchMethod(TpmCc.FieldUpgradeData, (TpmStructureBase) inS, typeof(Tpm2FieldUpgradeDataResponse), out outSBase, 0, 0); Tpm2FieldUpgradeDataResponse outS = (Tpm2FieldUpgradeDataResponse) outSBase; firstDigest = outS.firstDigest; return outS.nextDigest; }
public Tpm2FieldUpgradeDataRequest(Tpm2FieldUpgradeDataRequest the_Tpm2FieldUpgradeDataRequest) { if((Object) the_Tpm2FieldUpgradeDataRequest == null ) throw new ArgumentException(Globs.GetResourceString("parmError")); fuData = the_Tpm2FieldUpgradeDataRequest.fuData; }