pkiutilities/DeviceToken/Inc/DevTokenPWManager.h
changeset 0 164170e6151a
equal deleted inserted replaced
-1:000000000000 0:164170e6151a
       
     1 /*
       
     2 * Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies). 
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:   The header file of DevTokenPWManager
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef __DEVTOKENPWMANAGER_H__
       
    21 #define __DEVTOKENPWMANAGER_H__
       
    22 
       
    23 #include <pbe.h>
       
    24 #include <e32std.h>
       
    25 #include <s32crypt.h>
       
    26 #include <e32base.h>
       
    27 #include <secdlg.h>
       
    28 
       
    29 
       
    30 /**
       
    31  *  Password management class. Ask password from 
       
    32  *  user when encrypted key is imported to devcert
       
    33  *  key store.
       
    34  *
       
    35  *  @lib 
       
    36  *  @since S60 v3.2
       
    37  */
       
    38 class TDevTokenPWManager
       
    39     {
       
    40     public:
       
    41 	      static void ImportPassword(TPINValue& aValue, TRequestStatus& aStatus);
       
    42 	      static void Cancel();
       
    43     private:
       
    44 	      static void GetPassword( TPINValue& aValue, TRequestStatus& aStatus, TBool aRetry = EFalse);
       
    45 	  };
       
    46 
       
    47 #endif	//__DEVTOKENPWMANAGER_H__
       
    48 //EOF
       
    49