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