private void VerifyRopIdFromLongTermIdSuccessResponse(RopIdFromLongTermIdResponse ropIdFromLongTermIdResponse, byte inputHandleIndex)
{
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R371");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R371
Site.CaptureRequirementIfAreEqual<Type>(
typeof(byte),
ropIdFromLongTermIdResponse.RopId.GetType(),
371,
@"[In RopIdFromLongTermId ROP Success Response Buffer]RopId (1 byte): An unsigned integer.");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R373");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R373
Site.CaptureRequirementIfAreEqual<byte>(
(byte)RopId.RopIdFromLongTermId,
ropIdFromLongTermIdResponse.RopId,
373,
@"[In RopIdFromLongTermId ROP Success Response Buffer]RopId (1 byte): For this operation[RopIdFromLongTermId], this field[RopId (1 byte)] is set to 0x44.");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R374");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R374
Site.CaptureRequirementIfAreEqual<Type>(
typeof(byte),
ropIdFromLongTermIdResponse.InputHandleIndex.GetType(),
374,
@"[In RopIdFromLongTermId ROP Success Response Buffer] InputHandleIndex (1 byte): An unsigned integer.");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R375");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R375
Site.CaptureRequirementIfAreEqual<byte>(
inputHandleIndex,
ropIdFromLongTermIdResponse.InputHandleIndex,
375,
@"[In RopIdFromLongTermId ROP Success 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_R376");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R376
Site.CaptureRequirementIfAreEqual<Type>(
typeof(uint),
ropIdFromLongTermIdResponse.ReturnValue.GetType(),
376,
@"[In RopIdFromLongTermId ROP Success Response Buffer] ReturnValue (4 bytes): An unsigned integer.");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R378");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R378
Site.CaptureRequirementIfAreEqual<uint>(
SuccessReturnValue,
ropIdFromLongTermIdResponse.ReturnValue,
378,
@"[In RopIdFromLongTermId ROP Success Response Buffer] ReturnValue (4 bytes): For this response[Success Response], this field[ReturnValue (4 bytes)] is set to 0x00000000.");
// Add the debug information
Site.Log.Add(LogEntryKind.Debug, "Verify MS-OXCROPS_R379");
// Verify MS-OXCROPS requirement: MS-OXCROPS_R379
Site.CaptureRequirementIfAreEqual<int>(
8,
Marshal.SizeOf(ropIdFromLongTermIdResponse.ObjectId.GetType()),
379,
@"[In RopIdFromLongTermId ROP Success Response Buffer] ObjectId (8 bytes): ): An identifier.");
}