securitysettings/cpeapuiplugins/inc/eapuidefs.h
branchRCL_3
changeset 46 c74b3d9f6b9e
parent 45 bad0cc58d154
child 55 9c2aa05919d9
equal deleted inserted replaced
45:bad0cc58d154 46:c74b3d9f6b9e
     1 /*
       
     2  * Copyright (c) 2010 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: 
       
    15  *   Constant definitions for EAP control panel UIs
       
    16  *
       
    17  */
       
    18 
       
    19 /*
       
    20  * %version: 7 %
       
    21  */
       
    22 
       
    23 #ifndef EAPUIDEFS_H
       
    24 #define EAPUIDEFS_H
       
    25 
       
    26 #include <QString>
       
    27 
       
    28 namespace EapQtUiConstants
       
    29 {
       
    30 
       
    31     // EAP plugin names
       
    32     static const QString StringEapAka       = "EAP-AKA";
       
    33     static const QString StringEapFast      = "EAP-FAST";
       
    34     static const QString StringEapGtc       = "EAP-GTC";
       
    35     static const QString StringEapMschapv2  = "EAP-MSCHAPv2";
       
    36     static const QString StringEapSim       = "EAP-SIM";
       
    37     static const QString StringEapTls       = "EAP-TLS";
       
    38     static const QString StringEapTtls      = "EAP-TTLS";
       
    39     static const QString StringLeap         = "LEAP";
       
    40     static const QString StringMschapv2     = "MSCHAPv2";
       
    41     static const QString StringPap          = "PAP";
       
    42     static const QString StringPeap         = "PEAP";
       
    43 
       
    44     // EAP plugin preference order, i.e. the order in which the plugins
       
    45     // are shown on the UI relative to each other
       
    46     static const int OrderPeap          = 10;   // outer only
       
    47     static const int OrderEapTtls       = 20;   // outer only
       
    48     static const int OrderMschapv2      = 30;   // inner only
       
    49     static const int OrderPap           = 40;   // inner only
       
    50     static const int OrderEapGtc        = 50;   // inner only
       
    51     static const int OrderEapMschapv2   = 60;   // inner only
       
    52     static const int OrderEapTls        = 70;   // inner & outer
       
    53     static const int OrderEapFast       = 80;   // outer only
       
    54     static const int OrderLeap          = 90;   // outer only
       
    55     static const int OrderEapAka        = 100;  // inner & outer
       
    56     static const int OrderEapSim        = 110;  // inner & outer
       
    57 
       
    58     // TLS cipher names
       
    59     static const QString EapCipher_RSA_AES_SHA      = "RSA, AES, SHA";
       
    60     static const QString EapCipher_DHE_RSA_AES_SHA  = "DHE-RSA, AES, SHA";
       
    61     static const QString EapCipher_DHE_DSS_AES_SHA  = "DHE-DSS, AES, SHA";
       
    62     static const QString EapCipher_RSA_3DES_SHA     = "RSA, 3DES, SHA";
       
    63     static const QString EapCipher_DHE_RSA_3DES_SHA = "DHE-RSA, 3DES, SHA";
       
    64     static const QString EapCipher_DHE_DSS_3DES_SHA = "DHE-DSS, 3DES, SHA";
       
    65     static const QString EapCipher_RSA_RC4_MD5      = "RSA, RC4, MD5";
       
    66     static const QString EapCipher_RSA_RC4_SHA      = "RSA, RC4, SHA";
       
    67 
       
    68 }
       
    69 
       
    70 #endif // EAPUIDEFS_H