cryptoservices/filebasedcertificateandkeystores/test/certtool/certtool_commands.h
changeset 15 da2ae96f639b
parent 8 35751d3474b7
child 29 ece3df019add
equal deleted inserted replaced
10:afc583cfa176 15:da2ae96f639b
   107 public:
   107 public:
   108 	static CCertToolList* NewLC(CCertToolController* aController);
   108 	static CCertToolList* NewLC(CCertToolController* aController);
   109 	static CCertToolList* NewL(CCertToolController* aController);
   109 	static CCertToolList* NewL(CCertToolController* aController);
   110 	~CCertToolList();
   110 	~CCertToolList();
   111 	void ConstructL();
   111 	void ConstructL();
       
   112 	void InitializeIterations();	
   112 
   113 
   113 public: // From CCertToolCommand
   114 public: // From CCertToolCommand
   114 	void DoCommandL(CUnifiedCertStore& aCertStore, CKeyToolParameters* aParam);
   115 	void DoCommandL(CUnifiedCertStore& aCertStore, CKeyToolParameters* aParam);
   115 	
   116 		
   116 public: // From CActive
   117 public: // From CActive
   117 	void RunL();
   118 	void RunL();
   118 	void DoCancel();
   119 	void DoCancel();
   119 	TInt RunError(TInt aError);	
   120 	TInt RunError(TInt aError);	
   120 	
   121 	
   144 		ESetTrust,
   145 		ESetTrust,
   145 		EFinished,
   146 		EFinished,
   146 		EIntermediate,
   147 		EIntermediate,
   147 		EGetTrust,
   148 		EGetTrust,
   148 		} iState;			
   149 		} iState;			
       
   150 
       
   151 	// Number of certificates that have to be listed up to the current iteration.
       
   152 	TInt iCurrentListCount;	
       
   153 	// Keeps track of the number of iterations left.
       
   154 	TInt iNumberOfIterationsLeft;
       
   155 	// List offset for the last iteration if total number of certificates is not an exact
       
   156 	// multiple of default LIST_COUNT.
       
   157 	TInt iLastIterationOffset;
       
   158 	// Default list offset for each iteration.
       
   159 	TInt iCurrentListOffset;
   149 	};
   160 	};
   150 	
   161 	
   151 
   162 
   152 
   163 
   153 
   164