secsrv_plat/devenccommonutils_api/inc/DevEncExternalCRKeys.h
changeset 0 164170e6151a
equal deleted inserted replaced
-1:000000000000 0:164170e6151a
       
     1 /*
       
     2 * Copyright (c) 2007 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:  Cenrep categories and keys related to Device Encryption
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef DEVENCEXTERNALCRKEYS_H_
       
    20 #define DEVENCEXTERNALCRKEYS_H_
       
    21 
       
    22 #define KCRDevEncUiSettings           0x200025A6
       
    23 
       
    24 /**
       
    25  * Setting for disabling user-based encryption control.
       
    26  * 0: UI has full control
       
    27  * 1: DM controls phone memory
       
    28  * 2: DM controls memory card
       
    29  * 3: DM has full control
       
    30  **/
       
    31 #define KDevEncUiDmControl            0x01
       
    32 
       
    33 /**
       
    34  * User setting for memory card encryption. Does not always reflect the actual encryption state.
       
    35  * 0: Encryption off (decrypted)
       
    36  * 1: Encryption on (encrypted)
       
    37  **/
       
    38 #define KDevEncUserSettingMemoryCard  0x02
       
    39 
       
    40 // The KDevEncUiDmControl key can contain none, any or both of these values:
       
    41 #define KDmControlsPhoneMemory   0x01
       
    42 #define KDmControlsMemoryCard    0x02
       
    43 
       
    44 #endif /*DEVENCEXTERNALCRKEYS_H_*/