NetworkManager::Security8021xSetting Class

class NetworkManager::Security8021xSetting

Represents 802.1x wireless security setting. More...

Header: #include <NetworkManagerQt/Security8021xSetting>
CMake: find_package(KF6 REQUIRED COMPONENTS NetworkManagerQt)
target_link_libraries(mytarget PRIVATE KF6::NetworkManagerQt)
Inherits: NetworkManager::Setting

Public Types

enum AuthEapMethod { AuthEapMethodUnknown, AuthEapMethodMd5, AuthEapMethodMschapv2, AuthEapMethodOtp, AuthEapMethodGtc, AuthEapMethodTls }
enum AuthMethod { AuthMethodUnknown, AuthMethodPap, AuthMethodChap, AuthMethodMschap, AuthMethodMschapv2, …, AuthMethodTls }
enum EapMethod { EapMethodUnknown, EapMethodLeap, EapMethodMd5, EapMethodTls, EapMethodPeap, …, EapMethodPwd }
enum FastProvisioning { FastProvisioningUnknown, FastProvisioningDisabled, FastProvisioningAllowUnauthenticated, FastProvisioningAllowAuthenticated, FastProvisioningAllowBoth }
List
enum PeapLabel { PeapLabelUnknown, PeapLabelForce }
enum PeapVersion { PeapVersionUnknown, PeapVersionZero, PeapVersionOne }
Ptr

Public Functions

Security8021xSetting()
Security8021xSetting(const NetworkManager::Security8021xSetting::Ptr &other)
QStringList altSubjectMatches() const
QString anonymousIdentity() const
QByteArray caCertificate() const
QString caPath() const
QByteArray clientCertificate() const
QString domainSuffixMatch() const
QList<NetworkManager::Security8021xSetting::EapMethod> eapMethods() const
QString identity() const
QString pacFile() const
QString password() const
NetworkManager::Setting::SecretFlags passwordFlags() const
QByteArray passwordRaw() const
NetworkManager::Setting::SecretFlags passwordRawFlags() const
NetworkManager::Security8021xSetting::FastProvisioning phase1FastProvisioning() const
NetworkManager::Security8021xSetting::PeapLabel phase1PeapLabel() const
NetworkManager::Security8021xSetting::PeapVersion phase1PeapVersion() const
QStringList phase2AltSubjectMatches() const
NetworkManager::Security8021xSetting::AuthEapMethod phase2AuthEapMethod() const
NetworkManager::Security8021xSetting::AuthMethod phase2AuthMethod() const
QByteArray phase2CaCertificate() const
QString phase2CaPath() const
QByteArray phase2ClientCertificate() const
QByteArray phase2PrivateKey() const
QString phase2PrivateKeyPassword() const
NetworkManager::Setting::SecretFlags phase2PrivateKeyPasswordFlags() const
QString phase2SubjectMatch() const
QString pin() const
NetworkManager::Setting::SecretFlags pinFlags() const
QByteArray privateKey() const
QString privateKeyPassword() const
NetworkManager::Setting::SecretFlags privateKeyPasswordFlags() const
void setAltSubjectMatches(const QStringList &strings)
void setAnonymousIdentity(const QString &identity)
void setCaCertificate(const QByteArray &certificate)
void setCaPath(const QString &path)
void setClientCertificate(const QByteArray &certificate)
void setDomainSuffixMatch(const QString &domainSuffixMatch)
void setEapMethods(const QList<NetworkManager::Security8021xSetting::EapMethod> &methods)
void setIdentity(const QString &identity)
void setPacFile(const QString &filePath)
void setPassword(const QString &password)
void setPasswordFlags(NetworkManager::Setting::SecretFlags flags)
void setPasswordRaw(const QByteArray &password)
void setPasswordRawFlags(NetworkManager::Setting::SecretFlags flags)
void setPhase1FastProvisioning(NetworkManager::Security8021xSetting::FastProvisioning provisioning)
void setPhase1PeapLabel(NetworkManager::Security8021xSetting::PeapLabel label)
void setPhase1PeapVersion(NetworkManager::Security8021xSetting::PeapVersion version)
void setPhase2AltSubjectMatches(const QStringList &strings)
void setPhase2AuthEapMethod(NetworkManager::Security8021xSetting::AuthEapMethod method)
void setPhase2AuthMethod(NetworkManager::Security8021xSetting::AuthMethod method)
void setPhase2CaCertificate(const QByteArray &certificate)
void setPhase2CaPath(const QString &path)
void setPhase2ClientCertificate(const QByteArray &certificate)
void setPhase2PrivateKey(const QByteArray &key)
void setPhase2PrivateKeyPassword(const QString &password)
void setPhase2PrivateKeyPasswordFlags(NetworkManager::Setting::SecretFlags flags)
void setPhase2SubjectMatch(const QString &substring)
void setPin(const QString &pin)
void setPinFlags(NetworkManager::Setting::SecretFlags flags)
void setPrivateKey(const QByteArray &key)
void setPrivateKeyPassword(const QString &password)
void setPrivateKeyPasswordFlags(NetworkManager::Setting::SecretFlags flags)
void setSubjectMatch(const QString &substring)
void setSystemCaCertificates(bool use)
QString subjectMatch() const
bool systemCaCertificates() const

Detailed Description

Member Type Documentation

enum Security8021xSetting::AuthEapMethod

ConstantValue
NetworkManager::Security8021xSetting::AuthEapMethodUnknown0
NetworkManager::Security8021xSetting::AuthEapMethodMd51
NetworkManager::Security8021xSetting::AuthEapMethodMschapv22
NetworkManager::Security8021xSetting::AuthEapMethodOtp3
NetworkManager::Security8021xSetting::AuthEapMethodGtc4
NetworkManager::Security8021xSetting::AuthEapMethodTls5

enum Security8021xSetting::AuthMethod

ConstantValue
NetworkManager::Security8021xSetting::AuthMethodUnknown0
NetworkManager::Security8021xSetting::AuthMethodPap1
NetworkManager::Security8021xSetting::AuthMethodChap2
NetworkManager::Security8021xSetting::AuthMethodMschap3
NetworkManager::Security8021xSetting::AuthMethodMschapv24
NetworkManager::Security8021xSetting::AuthMethodGtc5
NetworkManager::Security8021xSetting::AuthMethodOtp6
NetworkManager::Security8021xSetting::AuthMethodMd57
NetworkManager::Security8021xSetting::AuthMethodTls8

enum Security8021xSetting::EapMethod

ConstantValue
NetworkManager::Security8021xSetting::EapMethodUnknown0
NetworkManager::Security8021xSetting::EapMethodLeap1
NetworkManager::Security8021xSetting::EapMethodMd52
NetworkManager::Security8021xSetting::EapMethodTls3
NetworkManager::Security8021xSetting::EapMethodPeap4
NetworkManager::Security8021xSetting::EapMethodTtls5
NetworkManager::Security8021xSetting::EapMethodSim6
NetworkManager::Security8021xSetting::EapMethodFast7
NetworkManager::Security8021xSetting::EapMethodPwd8

enum Security8021xSetting::FastProvisioning

ConstantValue
NetworkManager::Security8021xSetting::FastProvisioningUnknown-1
NetworkManager::Security8021xSetting::FastProvisioningDisabled0
NetworkManager::Security8021xSetting::FastProvisioningAllowUnauthenticated1
NetworkManager::Security8021xSetting::FastProvisioningAllowAuthenticated2
NetworkManager::Security8021xSetting::FastProvisioningAllowBoth3

Security8021xSetting::List

enum Security8021xSetting::PeapLabel

ConstantValue
NetworkManager::Security8021xSetting::PeapLabelUnknown0
NetworkManager::Security8021xSetting::PeapLabelForce1

enum Security8021xSetting::PeapVersion

ConstantValue
NetworkManager::Security8021xSetting::PeapVersionUnknown-1
NetworkManager::Security8021xSetting::PeapVersionZero0
NetworkManager::Security8021xSetting::PeapVersionOne1

Security8021xSetting::Ptr

Member Function Documentation

Security8021xSetting::Security8021xSetting()

[explicit] Security8021xSetting::Security8021xSetting(const NetworkManager::Security8021xSetting::Ptr &other)

QStringList Security8021xSetting::altSubjectMatches() const

See also setAltSubjectMatches().

QString Security8021xSetting::anonymousIdentity() const

See also setAnonymousIdentity().

QByteArray Security8021xSetting::caCertificate() const

See also setCaCertificate().

QString Security8021xSetting::caPath() const

See also setCaPath().

QByteArray Security8021xSetting::clientCertificate() const

See also setClientCertificate().

QString Security8021xSetting::domainSuffixMatch() const

See also setDomainSuffixMatch().

QList<NetworkManager::Security8021xSetting::EapMethod> Security8021xSetting::eapMethods() const

See also setEapMethods().

QString Security8021xSetting::identity() const

See also setIdentity().

QString Security8021xSetting::pacFile() const

See also setPacFile().

QString Security8021xSetting::password() const

See also setPassword().

NetworkManager::Setting::SecretFlags Security8021xSetting::passwordFlags() const

See also setPasswordFlags().

QByteArray Security8021xSetting::passwordRaw() const

See also setPasswordRaw().

NetworkManager::Setting::SecretFlags Security8021xSetting::passwordRawFlags() const

See also setPasswordRawFlags().

NetworkManager::Security8021xSetting::FastProvisioning Security8021xSetting::phase1FastProvisioning() const

See also setPhase1FastProvisioning().

NetworkManager::Security8021xSetting::PeapLabel Security8021xSetting::phase1PeapLabel() const

See also setPhase1PeapLabel().

NetworkManager::Security8021xSetting::PeapVersion Security8021xSetting::phase1PeapVersion() const

See also setPhase1PeapVersion().

QStringList Security8021xSetting::phase2AltSubjectMatches() const

See also setPhase2AltSubjectMatches().

NetworkManager::Security8021xSetting::AuthEapMethod Security8021xSetting::phase2AuthEapMethod() const

See also setPhase2AuthEapMethod().

NetworkManager::Security8021xSetting::AuthMethod Security8021xSetting::phase2AuthMethod() const

See also setPhase2AuthMethod().

QByteArray Security8021xSetting::phase2CaCertificate() const

See also setPhase2CaCertificate().

QString Security8021xSetting::phase2CaPath() const

See also setPhase2CaPath().

QByteArray Security8021xSetting::phase2ClientCertificate() const

See also setPhase2ClientCertificate().

QByteArray Security8021xSetting::phase2PrivateKey() const

See also setPhase2PrivateKey().

QString Security8021xSetting::phase2PrivateKeyPassword() const

See also setPhase2PrivateKeyPassword().

NetworkManager::Setting::SecretFlags Security8021xSetting::phase2PrivateKeyPasswordFlags() const

See also setPhase2PrivateKeyPasswordFlags().

QString Security8021xSetting::phase2SubjectMatch() const

See also setPhase2SubjectMatch().

QString Security8021xSetting::pin() const

See also setPin().

NetworkManager::Setting::SecretFlags Security8021xSetting::pinFlags() const

See also setPinFlags().

QByteArray Security8021xSetting::privateKey() const

See also setPrivateKey().

QString Security8021xSetting::privateKeyPassword() const

See also setPrivateKeyPassword().

NetworkManager::Setting::SecretFlags Security8021xSetting::privateKeyPasswordFlags() const

See also setPrivateKeyPasswordFlags().

void Security8021xSetting::setAltSubjectMatches(const QStringList &strings)

See also altSubjectMatches().

void Security8021xSetting::setAnonymousIdentity(const QString &identity)

See also anonymousIdentity().

void Security8021xSetting::setCaCertificate(const QByteArray &certificate)

Set certificate authority (ca)'s certificate for this setting.

certificate certificate's file path encoded into a byte array.

Warning: certificate have to be null terminated or NetworkManager will refuse it.

See also caCertificate().

void Security8021xSetting::setCaPath(const QString &path)

See also caPath().

void Security8021xSetting::setClientCertificate(const QByteArray &certificate)

Set client certificate for this setting.

certificate certificate's file path encoded into a byte array.

Warning: certificate have to be null terminated or NetworkManager will refuse it.

See also clientCertificate().

void Security8021xSetting::setDomainSuffixMatch(const QString &domainSuffixMatch)

See also domainSuffixMatch().

void Security8021xSetting::setEapMethods(const QList<NetworkManager::Security8021xSetting::EapMethod> &methods)

See also eapMethods().

void Security8021xSetting::setIdentity(const QString &identity)

See also identity().

void Security8021xSetting::setPacFile(const QString &filePath)

Set UTF-8 encoded file path containing PAC for EAP-FAST.

filePath file path to be set.

See also pacFile().

void Security8021xSetting::setPassword(const QString &password)

See also password().

void Security8021xSetting::setPasswordFlags(NetworkManager::Setting::SecretFlags flags)

See also passwordFlags().

void Security8021xSetting::setPasswordRaw(const QByteArray &password)

See also passwordRaw().

void Security8021xSetting::setPasswordRawFlags(NetworkManager::Setting::SecretFlags flags)

See also passwordRawFlags().

void Security8021xSetting::setPhase1FastProvisioning(NetworkManager::Security8021xSetting::FastProvisioning provisioning)

See also phase1FastProvisioning().

void Security8021xSetting::setPhase1PeapLabel(NetworkManager::Security8021xSetting::PeapLabel label)

See also phase1PeapLabel().

void Security8021xSetting::setPhase1PeapVersion(NetworkManager::Security8021xSetting::PeapVersion version)

See also phase1PeapVersion().

void Security8021xSetting::setPhase2AltSubjectMatches(const QStringList &strings)

See also phase2AltSubjectMatches().

void Security8021xSetting::setPhase2AuthEapMethod(NetworkManager::Security8021xSetting::AuthEapMethod method)

See also phase2AuthEapMethod().

void Security8021xSetting::setPhase2AuthMethod(NetworkManager::Security8021xSetting::AuthMethod method)

See also phase2AuthMethod().

void Security8021xSetting::setPhase2CaCertificate(const QByteArray &certificate)

Contains the CA certificate if used by the EAP method specified in the phase2AuthMethod() or phase2AuthEapMethod() properties.

certificate certificate's file path encoded into a byte array.

Warning: certificate have to be null terminated or NetworkManager will refuse it.

See also phase2CaCertificate().

void Security8021xSetting::setPhase2CaPath(const QString &path)

See also phase2CaPath().

void Security8021xSetting::setPhase2ClientCertificate(const QByteArray &certificate)

See also phase2ClientCertificate().

void Security8021xSetting::setPhase2PrivateKey(const QByteArray &key)

See also phase2PrivateKey().

void Security8021xSetting::setPhase2PrivateKeyPassword(const QString &password)

See also phase2PrivateKeyPassword().

void Security8021xSetting::setPhase2PrivateKeyPasswordFlags(NetworkManager::Setting::SecretFlags flags)

See also phase2PrivateKeyPasswordFlags().

void Security8021xSetting::setPhase2SubjectMatch(const QString &substring)

See also phase2SubjectMatch().

void Security8021xSetting::setPin(const QString &pin)

See also pin().

void Security8021xSetting::setPinFlags(NetworkManager::Setting::SecretFlags flags)

See also pinFlags().

void Security8021xSetting::setPrivateKey(const QByteArray &key)

Set private key for this setting.

key the key to be set.

Warning: key have to be null terminated or NetworkManager will refuse it.

See also privateKey().

void Security8021xSetting::setPrivateKeyPassword(const QString &password)

See also privateKeyPassword().

void Security8021xSetting::setPrivateKeyPasswordFlags(NetworkManager::Setting::SecretFlags flags)

See also privateKeyPasswordFlags().

void Security8021xSetting::setSubjectMatch(const QString &substring)

See also subjectMatch().

void Security8021xSetting::setSystemCaCertificates(bool use)

See also systemCaCertificates().

QString Security8021xSetting::subjectMatch() const

See also setSubjectMatch().

bool Security8021xSetting::systemCaCertificates() const

See also setSystemCaCertificates().