// This file is generated by kconfig_compiler from 802-1x.kcfg.
// All changes you do to this file will be lost.

#include "802-1x.h"

using namespace Knm;

Security8021xSetting::Security8021xSetting() : Setting(Setting::Security8021x),
    mPhase1peapver(0), mPhase2auth(0), mPhase2autheap(0), mEnabled(false)
{
}

Security8021xSetting::~Security8021xSetting()
{
}

QString Security8021xSetting::name() const
{
  return QLatin1String("802-1x");
}
bool Security8021xSetting::hasSecrets() const
{
  return true;
}


QByteArray Security8021xSetting::getBytes(const QString & fileName)
{
    QByteArray bytes;
    QFile file(fileName);

    if (file.open(QIODevice::ReadOnly)) {
        bytes = file.readAll();
    }
    return bytes;
}
