37 PeapVersionUnknown = -1,
45 enum FastProvisioning {
46 FastProvisioningUnknown = -1,
47 FastProvisioningDisabled,
48 FastProvisioningAllowUnauthenticated,
49 FastProvisioningAllowAuthenticated,
50 FastProvisioningAllowBoth,
53 AuthMethodUnknown = 0,
64 AuthEapMethodUnknown = 0,
66 AuthEapMethodMschapv2,
81 void setIdentity(
const QString &identity);
84 void setAnonymousIdentity(
const QString &identity);
85 QString anonymousIdentity()
const;
87 void setDomainSuffixMatch(
const QString &domainSuffixMatch);
88 QString domainSuffixMatch()
const;
95 void setPacFile(
const QString &filePath);
105 void setCaCertificate(
const QByteArray &certificate);
108 void setCaPath(
const QString &path);
111 void setSubjectMatch(
const QString &substring);
114 void setAltSubjectMatches(
const QStringList &strings);
124 void setClientCertificate(
const QByteArray &certificate);
127 void setPhase1PeapVersion(PeapVersion version);
128 PeapVersion phase1PeapVersion()
const;
130 void setPhase1PeapLabel(PeapLabel label);
131 PeapLabel phase1PeapLabel()
const;
133 void setPhase1FastProvisioning(FastProvisioning provisioning);
134 FastProvisioning phase1FastProvisioning()
const;
136 void setPhase2AuthMethod(AuthMethod method);
137 AuthMethod phase2AuthMethod()
const;
139 void setPhase2AuthEapMethod(AuthEapMethod method);
140 AuthEapMethod phase2AuthEapMethod()
const;
150 void setPhase2CaCertificate(
const QByteArray &certificate);
153 void setPhase2CaPath(
const QString &path);
156 void setPhase2SubjectMatch(
const QString &substring);
157 QString phase2SubjectMatch()
const;
159 void setPhase2AltSubjectMatches(
const QStringList &strings);
162 void setPhase2ClientCertificate(
const QByteArray &certificate);
165 void setPassword(
const QString &password);
171 void setPasswordRaw(
const QByteArray &password);
187 void setPrivateKeyPassword(
const QString &password);
188 QString privateKeyPassword()
const;
193 void setPhase2PrivateKey(
const QByteArray &key);
196 void setPhase2PrivateKeyPassword(
const QString &password);
197 QString phase2PrivateKeyPassword()
const;
202 void setPin(
const QString &pin);
208 void setSystemCaCertificates(
bool use);
209 bool systemCaCertificates()
const;
211 QStringList needSecrets(
bool requestNew =
false)
const override;
213 void secretsFromMap(
const QVariantMap &secrets)
override;
215 QVariantMap secretsToMap()
const override;
217 void fromMap(
const QVariantMap &setting)
override;
219 QVariantMap toMap()
const override;
222 Security8021xSettingPrivate *
const d_ptr;