/// <summary> /// Verify RopGetPermissionsTable Response /// </summary> /// <param name="ropGetPermissionsTableResponse">The response of RopGetPermissionsTable request</param> /// <param name="outputHandleIndex">The field of OutputHandleIndex in RopGetPermissionsTable request</param> private void VerifyRopGetPermissionsTableResponse(RopGetPermissionsTableResponse ropGetPermissionsTableResponse, byte outputHandleIndex) { // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R3554"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R3554 Site.CaptureRequirementIfAreEqual<Type>( typeof(byte), ropGetPermissionsTableResponse.RopId.GetType(), 3554, @"[In RopGetPermissionsTable ROP Response Buffer] RopId (1 byte): An unsigned integer."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R3556"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R3556 Site.CaptureRequirementIfAreEqual<byte>( (byte)RopId.RopGetPermissionsTable, ropGetPermissionsTableResponse.RopId, 3556, @"[In RopGetPermissionsTable ROP Response Buffer, RopId (1 byte):] For this operation[RopGetPermissionsTable], this field is set to 0x3E."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R3557"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R3557 Site.CaptureRequirementIfAreEqual<Type>( typeof(byte), ropGetPermissionsTableResponse.OutputHandleIndex.GetType(), 3557, @"[In RopGetPermissionsTable ROP Response Buffer]OutputHandleIndex (1 byte): An unsigned integer."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R3558"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R3558 Site.CaptureRequirementIfAreEqual<byte>( outputHandleIndex, ropGetPermissionsTableResponse.OutputHandleIndex, 3558, @"[In RopGetPermissionsTable ROP Response Buffer, OutputHandleIndex (1 byte):] This index MUST be set to the value specified in the OutputHandleIndex field in the request."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R3560"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R3560 Site.CaptureRequirementIfAreEqual<Type>( typeof(uint), ropGetPermissionsTableResponse.ReturnValue.GetType(), 3560, @"[In RopGetPermissionsTable ROP Response Buffer] ReturnValue (4 bytes): An unsigned integer."); }