securitysettings/cpeapuiplugins/inc/eapuidefs.h
changeset 39 fe6b6762fccd
parent 33 938269283a16
equal deleted inserted replaced
38:7a0216d033ac 39:fe6b6762fccd
     1 /*
     1 /*
     2  * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
     2  * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3  * All rights reserved.
     3  * All rights reserved.
     4  * This component and the accompanying materials are made available
     4  * This component and the accompanying materials are made available
     5  * under the terms of the License "Eclipse Public License v1.0"
     5  * under the terms of "Eclipse Public License v1.0"
     6  * which accompanies this distribution, and is available
     6  * which accompanies this distribution, and is available
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8  *
     8  *
     9  * Initial Contributors:
     9  * Initial Contributors:
    10  * Nokia Corporation - initial contribution.
    10  * Nokia Corporation - initial contribution.
    11  *
    11  *
    12  * Contributors:
    12  * Contributors:
    13  *
    13  *
    14  * Description: 
    14  * Description: 
    15  *   Constant definitions for EAP UIs
    15  *   Constant definitions for EAP control panel UIs
    16  *
    16  *
    17  */
    17  */
    18 
    18 
    19 /*
    19 /*
    20  * %version: 5 %
    20  * %version: 7 %
    21  */
    21  */
    22 
    22 
    23 #ifndef EAPUIDEFS_H
    23 #ifndef EAPUIDEFS_H
    24 #define EAPUIDEFS_H
    24 #define EAPUIDEFS_H
    25 
    25 
    26 #include <QString>
    26 #include <QString>
    27 
    27 
    28 namespace EapUiStrings
    28 namespace EapQtUiConstants
    29 {
    29 {
    30     static const QString EapAka       = "EAP-AKA";
    30 
    31     static const QString EapFast      = "EAP-FAST";
    31     // EAP plugin names
    32     static const QString EapGtc       = "EAP-GTC";
    32     static const QString StringEapAka       = "EAP-AKA";
    33     static const QString EapMschapv2  = "EAP-MSCHAPv2";
    33     static const QString StringEapFast      = "EAP-FAST";
    34     static const QString EapSim       = "EAP-SIM";
    34     static const QString StringEapGtc       = "EAP-GTC";
    35     static const QString EapTls       = "EAP-TLS";
    35     static const QString StringEapMschapv2  = "EAP-MSCHAPv2";
    36     static const QString EapTtls      = "EAP-TTLS";
    36     static const QString StringEapSim       = "EAP-SIM";
    37     static const QString Leap         = "LEAP";
    37     static const QString StringEapTls       = "EAP-TLS";
    38     static const QString Mschapv2     = "MSCHAPv2";
    38     static const QString StringEapTtls      = "EAP-TTLS";
    39     static const QString Pap          = "PAP";
    39     static const QString StringLeap         = "LEAP";
    40     static const QString Peap         = "PEAP";
    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 
    41 }
    68 }
    42 
    69 
    43 #endif /* EAPUIDEFS_H */
    70 #endif // EAPUIDEFS_H