pkiutilities/CertSaver/inc/CertSaverModel.h
branchRCL_3
changeset 21 09b1ac925e3f
parent 0 164170e6151a
child 22 03674e5abf46
equal deleted inserted replaced
20:63339781d179 21:09b1ac925e3f
    75         * @param void
    75         * @param void
    76         */
    76         */
    77         void SavePKCS12L();
    77         void SavePKCS12L();
    78 
    78 
    79 
    79 
    80         /**
       
    81         * Shows a error note with given text.
       
    82         * @param aResourceID Id of the resource text to be shown.
       
    83         */
       
    84         void ShowErrorNoteL( TInt aResourceID ) const;
       
    85 
       
    86     private:  // New functions
    80     private:  // New functions
    87 
    81 
    88         /**
    82         /**
    89         * Initialises unified certstore.
    83         * Initialises unified certstore.
    90         */
    84         */
   196         * Adds new lines to message.
   190         * Adds new lines to message.
   197         * @param aMessage Buffer where message is saved.
   191         * @param aMessage Buffer where message is saved.
   198         */
   192         */
   199         void AddNewlinesToMessage( TDes& aMessage ) const;
   193         void AddNewlinesToMessage( TDes& aMessage ) const;
   200 
   194 
   201         /**
       
   202         * Shows a confirmation note with given text.
       
   203         * @param aResourceID Id of the resource text to be shown.
       
   204         */
       
   205         void ShowConfirmationNoteL( TInt aResourceID ) const;
       
   206 
   195 
   207         /**
   196         /**
   208         * Shows a information note with given text.
   197         * Shows a information note with given text.
   209         * @param aResourceID Id of the resource text to be shown.
   198         * @param aResourceID Id of the resource text to be shown.
   210         */
   199         */
   308         * @param aOutput Descriptor where result is appended
   297         * @param aOutput Descriptor where result is appended
   309         * @return void
   298         * @return void
   310         */
   299         */
   311         void DivideToBlocks( const TDesC8& aInput, TDes& aOutput ) const;
   300         void DivideToBlocks( const TDesC8& aInput, TDes& aOutput ) const;
   312 
   301 
   313         TBool DoMessageQueryL(
   302 /*
   314             TInt aDialogResId,
   303         TBool DoMessageQueryL( 
       
   304             TInt aDialogResId, 
   315             TInt aHeadingResId,
   305             TInt aHeadingResId,
   316             TDesC& aMessage );
   306             TDesC& aMessage ); 
       
   307 */
   317 
   308 
   318     private: //data
   309     private: //data
   319         TCertificateOwnerType     iCertOwnerType;
   310         TCertificateOwnerType     iCertOwnerType;
   320         TCertificateFormat        iCertFormat;
   311         TCertificateFormat        iCertFormat;
   321         const CCertSaverDocument* iDocument;
   312         const CCertSaverDocument* iDocument;
   334         TInt  iSavedCACertsCount;
   325         TInt  iSavedCACertsCount;
   335         TInt  iSavedKeysCount;
   326         TInt  iSavedKeysCount;
   336         TInt  iSavedUserCertsCount;
   327         TInt  iSavedUserCertsCount;
   337         TInt  iSelectedKeyStore;
   328         TInt  iSelectedKeyStore;
   338         TBool iKeyAlreadyExists;
   329         TBool iKeyAlreadyExists;
       
   330 
       
   331         CEikonEnv*        iEikEnv;
   339     };
   332     };
   340 
   333 
   341 #endif
   334 #endif
   342 
   335 
   343 // End of File
   336 // End of File