/// <summary> /// Verify RopSubmitMessage Response /// </summary> /// <param name="ropSubmitMessageResponse">The response of RopSubmitMessage request</param> /// <param name="inputHandleIndex">The field of InputHandleIndex in RopSubmitMessage request</param> private void VerifyRopSubmitMessageResponse(RopSubmitMessageResponse ropSubmitMessageResponse, byte inputHandleIndex) { // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R2361"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R2361 Site.CaptureRequirementIfAreEqual<Type>( typeof(byte), ropSubmitMessageResponse.RopId.GetType(), 2361, @"[In RopSubmitMessage ROP Response Buffer]RopId (1 byte): An unsigned integer."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R2363"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R2363 Site.CaptureRequirementIfAreEqual<byte>( (byte)RopId.RopSubmitMessage, ropSubmitMessageResponse.RopId, 2363, @"[In RopSubmitMessage ROP Response Buffer,RopId (1 byte)]For this operation[RopSubmitMessage], this field is set to 0x32."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R2364"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R2364 Site.CaptureRequirementIfAreEqual<Type>( typeof(byte), ropSubmitMessageResponse.InputHandleIndex.GetType(), 2364, @"[In RopSubmitMessage ROP Response Buffer]InputHandleIndex (1 byte): An unsigned integer."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R2365"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R2365 Site.CaptureRequirementIfAreEqual<byte>( inputHandleIndex, ropSubmitMessageResponse.InputHandleIndex, 2365, @"[In RopSubmitMessage 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_R2367"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R2367 Site.CaptureRequirementIfAreEqual<Type>( typeof(uint), ropSubmitMessageResponse.ReturnValue.GetType(), 2367, @"[In RopSubmitMessage ROP Response Buffer]ReturnValue (4 bytes): An unsigned integer."); }