os/security/crypto/weakcryptospi/inc/spi/rulecharacteristics.h
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/security/crypto/weakcryptospi/inc/spi/rulecharacteristics.h	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,81 @@
     1.4 +/*
     1.5 +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     1.6 +* All rights reserved.
     1.7 +* This component and the accompanying materials are made available
     1.8 +* under the terms of the License "Eclipse Public License v1.0"
     1.9 +* which accompanies this distribution, and is available
    1.10 +* at the URL "http://www.eclipse.org/legal/epl-v10.html".
    1.11 +*
    1.12 +* Initial Contributors:
    1.13 +* Nokia Corporation - initial contribution.
    1.14 +*
    1.15 +* Contributors:
    1.16 +*
    1.17 +* Description: 
    1.18 +* Rule-based plugin selector definition
    1.19 +*
    1.20 +*/
    1.21 +
    1.22 +
    1.23 +/**
    1.24 + @file
    1.25 + @internalTechnology
    1.26 + @released
    1.27 +*/
    1.28 +
    1.29 +#ifndef CRYPTOAPI_RULECHARACTERISTICS_H
    1.30 +#define CRYPTOAPI_RULECHARACTERISTICS_H
    1.31 +
    1.32 +#include <cryptospi/pluginselectorbase.h>
    1.33 +#include <cryptospi/cryptocharacteristics.h>
    1.34 +#include <e32hashtab.h>
    1.35 +#include <cryptospi/cryptoparams.h>
    1.36 +
    1.37 +namespace CryptoSpi
    1.38 +	{
    1.39 +	/**
    1.40 +	 *
    1.41 +	 * The class holds characteristics and dll index.
    1.42 +	 **/
    1.43 +	NONSHARABLE_CLASS(CRulesCharacteristicsAndPluginName) : public CCharacteristicsAndPluginName
    1.44 +		{
    1.45 +	public:
    1.46 +		/**
    1.47 +		 * Create a new instance of CRulesCharacteristicsAndPluginName.
    1.48 +		 *
    1.49 +		 * @param aInterface the interface uid
    1.50 +		 * @return the pointer of the new object
    1.51 +		 **/		
    1.52 +		static CRulesCharacteristicsAndPluginName* NewL(TInt32 aInterface);
    1.53 +		
    1.54 +		/**
    1.55 +		 * Create a new instance of CRulesCharacteristicsAndPluginName.
    1.56 +		 * Leave it on the cleanup stack.
    1.57 +		 *
    1.58 +		 * @param aInterface the interface uid
    1.59 +		 * @return the pointer of the new object
    1.60 +		 **/				
    1.61 +		static CRulesCharacteristicsAndPluginName* NewLC(TInt32 aInterface);
    1.62 +		
    1.63 +		/**
    1.64 +		Destructor
    1.65 +		*/		
    1.66 +		virtual ~CRulesCharacteristicsAndPluginName();
    1.67 +		
    1.68 +	private:
    1.69 +		/**
    1.70 +		Constructors
    1.71 +		*/
    1.72 +		CRulesCharacteristicsAndPluginName();
    1.73 +		void ConstructL(TInt32 aInterface);
    1.74 +		
    1.75 +	public:
    1.76 +		/**
    1.77 +		This is the extended characteristic uid that need to be sorted.
    1.78 +		*/
    1.79 +		TInt32 iSortUid;
    1.80 +		};
    1.81 +		
    1.82 +	}
    1.83 +
    1.84 +#endif //CRYPTOAPI_RULECHARACTERISTICS_H