securitysettings/qtconfigutils/eapqtconfiginterface/inc/eapqtconfiginterface_p.h
changeset 27 9660a5eb236f
parent 26 9abfd4f00d37
child 34 ad1f037f1ac2
equal deleted inserted replaced
26:9abfd4f00d37 27:9660a5eb236f
    15  *   EAP method configuration QT interface private implementation
    15  *   EAP method configuration QT interface private implementation
    16  *
    16  *
    17  */
    17  */
    18 
    18 
    19 /*
    19 /*
    20  * %version: 28 %
    20  * %version: 29 %
    21  */
    21  */
    22 
    22 
    23 #ifndef EAPQTCONFIGINTERFACEPRIVATE_H
    23 #ifndef EAPQTCONFIGINTERFACEPRIVATE_H
    24 #define EAPQTCONFIGINTERFACEPRIVATE_H
    24 #define EAPQTCONFIGINTERFACEPRIVATE_H
    25 
    25 
    42 
    42 
    43 class EapQtConfigInterfacePrivate
    43 class EapQtConfigInterfacePrivate
    44 {
    44 {
    45 public:
    45 public:
    46 
    46 
    47     // TODO: check all certificate fields. Are they treated correctly, unicode vs. ascii vs. binary?
       
    48 
       
    49     // maximum lenghts (number of characters) for UTF-16 strings copied to EAP settings
    47     // maximum lenghts (number of characters) for UTF-16 strings copied to EAP settings
    50     static const unsigned int StringMaxLength = KGeneralStringMaxLength;
    48     static const unsigned int StringMaxLength = KGeneralStringMaxLength;
    51     static const unsigned int CertLabelMaxLength = KMaxCertLabelLength;
    49     static const unsigned int CertLabelMaxLength = KMaxCertLabelLength;
    52     static const unsigned int CertThumbprintMaxLength = KThumbprintMaxLength;
    50     static const unsigned int CertThumbprintMaxLength = KThumbprintMaxLength;
    53     static const unsigned int CertSubjectKeyIdLength = KSHA1HashLengthBytes;
    51     static const unsigned int CertSubjectKeyIdLength = KSHA1HashLengthBytes;
    63     // to be able to use the methods:
    61     // to be able to use the methods:
    64     // - selectedOuterTypes
    62     // - selectedOuterTypes
    65     // - readConfiguration
    63     // - readConfiguration
    66     // - saveConfiguration
    64     // - saveConfiguration
    67     // - deleteConfiguration
    65     // - deleteConfiguration
       
    66     // - uiInstance
    68     // other methods are usable with negative iapId
    67     // other methods are usable with negative iapId
    69     EapQtConfigInterfacePrivate(const EapQtConfigInterface::EapBearerType bearerType,
    68     EapQtConfigInterfacePrivate(const EapQtConfigInterface::EapBearerType bearerType,
    70         const int iapId);
    69         const int iapId);
    71 
    70 
    72     ~EapQtConfigInterfacePrivate();
    71     ~EapQtConfigInterfacePrivate();