pkiutilities/ocsp/test/testfilterparameters.h
changeset 0 164170e6151a
equal deleted inserted replaced
-1:000000000000 0:164170e6151a
       
     1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // This file contains the UID and key ids of Publish and Subscribe flags used for IPC between the test code and the test http filter
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file 
       
    20  @internalTechnology
       
    21 */
       
    22 
       
    23 #ifndef __TESTFILTERPARAMETERS_H__
       
    24 #define __TESTFILTERPARAMETERS_H__
       
    25 
       
    26 #include <e32def.h>
       
    27 
       
    28 // UID used to reference the P&S flags
       
    29 const TInt KFilterParametersCategoryUID							= 0x1000A405;
       
    30 
       
    31 // Keys for the various parameters
       
    32 const TInt KFilterParameterNumDelayResp							=  1; // Delay by n milliseconds
       
    33 const TInt KFilterParameterCountDropResp 						=  2; // Drop n requests/responses
       
    34 const TInt KFilterParameterCountCorruptHTTPDataHeader 			=  3; // Corrupt HTTP data
       
    35 const TInt KFilterParameterCountCorruptHTTPDataBodySizeLarge	=  4; // Corrupt HTTP data
       
    36 const TInt KFilterParameterCountCorruptHTTPDataBodySizeSmall 	=  5; // Corrupt HTTP data
       
    37 const TInt KFilterParameterCountCorruptOCSPData 				=  6; // Corrupt OCSP data
       
    38 const TInt KFilterParameterCountInternalErrorResp 				=  7; // Respond with internalError
       
    39 const TInt KFilterParameterCountTryLaterResp 					=  8; // Respond with tryLater
       
    40 const TInt KFilterParameterCountSigValidateFailure 				=  9; // Cause signature validation failure
       
    41 
       
    42 #endif // __TESTFILTERPARAMETERS_H__