/// <summary> /// Verify RopResetTable Response /// </summary> /// <param name="ropResetTableResponse">The response of RopResetTable request</param> /// <param name="inputHandleIndex">The field of InputHandleIndex in RopResetTable request</param> private void VerifyRopResetTableResponse(RopResetTableResponse ropResetTableResponse, byte inputHandleIndex) { // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R1525"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R1525 Site.CaptureRequirementIfAreEqual<Type>( typeof(byte), ropResetTableResponse.RopId.GetType(), 1525, @"[In RopResetTable ROP Response Buffer] RopId (1 byte): An unsigned integer."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R1527"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R1527 Site.CaptureRequirementIfAreEqual<byte>( (byte)RopId.RopResetTable, ropResetTableResponse.RopId, 1527, @"[In RopResetTable ROP Response Buffer] RopId (1 byte): For this operation[RopResetTable], this field is set to 0x81."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R1528"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R1528 Site.CaptureRequirementIfAreEqual<Type>( typeof(byte), ropResetTableResponse.InputHandleIndex.GetType(), 1528, @"[In RopResetTable ROP Response Buffer] InputHandleIndex (1 byte): An unsigned integer."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R1529"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R1529 Site.CaptureRequirementIfAreEqual<byte>( inputHandleIndex, ropResetTableResponse.InputHandleIndex, 1529, @"[In RopResetTable ROP Response Buffer] InputHandleIndex (1 byte): This index MUST be set to the value specified in the InputHandleIndex field in the request."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R1530"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R1530 Site.CaptureRequirementIfAreEqual<Type>( typeof(uint), ropResetTableResponse.ReturnValue.GetType(), 1530, @"[In RopResetTable ROP Response Buffer] ReturnValue (4 bytes): An unsigned integer."); }