cryptoservices/filebasedcertificateandkeystores/test/certtool/certtool_commands.h
equal
deleted
inserted
replaced
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 |