/// <summary> /// Verify RopBufferTooSmall Response /// </summary> /// <param name="ropBufferTooSmallResponse">The response of RopBufferTooSmall request</param> private void VerifyRopBufferTooSmallResponse(RopBufferTooSmallResponse ropBufferTooSmallResponse) { // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R4653"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R4653 Site.CaptureRequirementIfAreEqual<Type>( typeof(byte), ropBufferTooSmallResponse.RopId.GetType(), 4653, @"[In RopBufferTooSmall ROP Response Buffer]RopId (1 byte): An unsigned integer."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R4655"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R4655 Site.CaptureRequirementIfAreEqual<byte>( (byte)RopId.RopBufferTooSmall, ropBufferTooSmallResponse.RopId, 4655, @"[In RopBufferTooSmall ROP Response Buffer, RopId (1 byte):] For this operation[RopBufferTooSmall] this field is set to 0xFF."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R4443"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R4443 Site.CaptureRequirementIfAreEqual<Type>( typeof(ushort), ropBufferTooSmallResponse.SizeNeeded.GetType(), 4443, @"[In RopBufferTooSmall ROP Response Buffer] SizeNeeded (2 bytes): An unsigned integer."); // Add the debug information Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R4445"); // Verify MS-OXCROPS requirement: MS-OXCROPS_R4445 Site.CaptureRequirementIfAreEqual<Type>( typeof(byte[]), ropBufferTooSmallResponse.RequestBuffers.GetType(), 4445, @"[In RopBufferTooSmall ROP Response Buffer]RequestBuffers (variable): An array of bytes."); }