securitysettings/qtconfigutils/eapqtconfiginterface/src/eapqtconfig.cpp
changeset 27 9660a5eb236f
parent 26 9abfd4f00d37
child 34 ad1f037f1ac2
equal deleted inserted replaced
26:9abfd4f00d37 27:9660a5eb236f
    15  *   EAP method QT configuration
    15  *   EAP method QT configuration
    16  *
    16  *
    17  */
    17  */
    18 
    18 
    19 /*
    19 /*
    20  * %version: 8 %
    20  * %version: 9 %
    21  */
    21  */
    22 
    22 
    23 #include "eapqtconfig.h"
    23 #include "eapqtconfig.h"
    24 #include "eapqtconfig_p.h"
    24 #include "eapqtconfig_p.h"
    25 
    25 
    26 //----------------------------------------------------------------------------
    26 //----------------------------------------------------------------------------
    27 //              EapQtConfig                
    27 //              EapQtConfig                
    28 //----------------------------------------------------------------------------
    28 //----------------------------------------------------------------------------
    29 
    29 
    30 /*!
       
    31  * TODO: check the list
       
    32  * 
       
    33  * EAP-SIM (TypeEapSim), EAP-AKA (TypeEapAka)
       
    34  * - UsernameAutomatic
       
    35  * - Username
       
    36  * - RealmAutomatic
       
    37  * - Realm
       
    38  * - UsePseudonyms
       
    39  * - SessionValidityTime
       
    40  * - Notifications
       
    41  * 
       
    42  * EAP-GTC (TypeEapGtc), LEAP (TypeLeap), 
       
    43  * EAP-MSCHAPv2 (TypeEapMschapv2), Plain MSCHAPv2 (TypePlainMschapv2),
       
    44  * PAP (TypePap)
       
    45  * - Username
       
    46  * - PasswordPrompt
       
    47  * - Password
       
    48  * - Notifications
       
    49  * 
       
    50  * EAP-TLS (TypeEapTls)
       
    51  * - AuthorityCertificateAutomatic
       
    52  * - AuthorityCertificate
       
    53  * - UserCertificate
       
    54  * - UsernameAutomatic
       
    55  * - Username
       
    56  * - RealmAutomatic
       
    57  * - Realm
       
    58  * - TlsPrivacy
       
    59  * - Notifications
       
    60  * - CipherSuites
       
    61  * 
       
    62  * EAP-TTLS (TypeEapTtls)
       
    63  * - AuthorityCertificateAutomatic
       
    64  * - AuthorityCertificate
       
    65  * - UserCertificate
       
    66  * - UsernameAutomatic
       
    67  * - Username
       
    68  * - RealmAutomatic
       
    69  * - Realm
       
    70  * - TlsPrivacy
       
    71  * - InnerType
       
    72  * - Notifications
       
    73  * - CipherSuites
       
    74  * 
       
    75  * EAP-FAST (TypeEapFast)
       
    76  * - ProvisioningModeAuthenticated
       
    77  * - ProvisioningModeUnAuthenticated
       
    78  * - AuthorityCertificateAutomatic
       
    79  * - AuthorityCertificate
       
    80  * - UserCertificate
       
    81  * - UsernameAutomatic
       
    82  * - Username
       
    83  * - RealmAutomatic
       
    84  * - Realm
       
    85  * - ServerNameVerify
       
    86  * - ServerName
       
    87  * - TlsPrivacy
       
    88  * - InnerType
       
    89  * - PacStorePassword
       
    90  * - PacStoreReset
       
    91  * - CipherSuites
       
    92  * 
       
    93  * PEAP (TypePeap)
       
    94  * - AuthorityCertificateAutomatic
       
    95  * - AuthorityCertificate
       
    96  * - UserCertificate
       
    97  * - UsernameAutomatic
       
    98  * - Username
       
    99  * - RealmAutomatic
       
   100  * - Realm
       
   101  * - ServerNameVerify
       
   102  * - ServerName
       
   103  * - TlsPrivacy
       
   104  * - PeapVersion
       
   105  * - InnerType
       
   106  * - Notifications
       
   107  * - CipherSuites
       
   108  */
       
   109 EapQtConfig::EapQtConfig() :
    30 EapQtConfig::EapQtConfig() :
   110     d_ptr(new EapQtConfigPrivate)
    31     d_ptr(new EapQtConfigPrivate)
   111 {
    32 {
   112 }
    33 }
   113 
    34 
   143 }
    64 }
   144 
    65 
   145 QList<EapQtConfig::SettingsId> EapQtConfig::validate(
    66 QList<EapQtConfig::SettingsId> EapQtConfig::validate(
   146     QList<EapQtConfig::SettingsId> ids)
    67     QList<EapQtConfig::SettingsId> ids)
   147 {
    68 {
   148     // TODO: allow validation only for 0 < id < SettingsIdLast
    69     // not supported
   149     Q_UNUSED(ids);
    70     Q_UNUSED(ids);
   150     return QList<EapQtConfig::SettingsId>();
    71     return QList<EapQtConfig::SettingsId>();
   151 }
    72 }
   152 
    73 
   153 
    74