NetworkManager::Security8021xSetting
#include <security8021xsetting.h>
Public Types | |
enum | AuthEapMethod { AuthEapMethodUnknown = 0 , AuthEapMethodMd5 , AuthEapMethodMschapv2 , AuthEapMethodOtp , AuthEapMethodGtc , AuthEapMethodTls } |
enum | AuthMethod { AuthMethodUnknown = 0 , AuthMethodPap , AuthMethodChap , AuthMethodMschap , AuthMethodMschapv2 , AuthMethodGtc , AuthMethodOtp , AuthMethodMd5 , AuthMethodTls } |
enum | EapMethod { EapMethodUnknown = 0 , EapMethodLeap , EapMethodMd5 , EapMethodTls , EapMethodPeap , EapMethodTtls , EapMethodSim , EapMethodFast , EapMethodPwd } |
enum | FastProvisioning { FastProvisioningUnknown = -1 , FastProvisioningDisabled , FastProvisioningAllowUnauthenticated , FastProvisioningAllowAuthenticated , FastProvisioningAllowBoth } |
typedef QList< Ptr > | List |
enum | PeapLabel { PeapLabelUnknown = 0 , PeapLabelForce } |
enum | PeapVersion { PeapVersionUnknown = -1 , PeapVersionZero , PeapVersionOne } |
typedef QSharedPointer< Security8021xSetting > | Ptr |
Public Types inherited from NetworkManager::Setting | |
typedef QList< Ptr > | List |
enum | MacAddressRandomization { MacAddressRandomizationDefault = 0 , MacAddressRandomizationNever , MacAddressRandomizationAlways } |
typedef QSharedPointer< Setting > | Ptr |
typedef QFlags< SecretFlagType > | SecretFlags |
enum | SecretFlagType { None = 0 , AgentOwned = 0x01 , NotSaved = 0x02 , NotRequired = 0x04 } |
enum | SettingType { Adsl , Cdma , Gsm , Infiniband , Ipv4 , Ipv6 , Ppp , Pppoe , Security8021x , Serial , Vpn , Wired , Wireless , WirelessSecurity , Bluetooth , OlpcMesh , Vlan , Wimax , Bond , Bridge , BridgePort , Team , Generic , Tun , Vxlan , IpTunnel , Proxy , User , OvsBridge , OvsInterface , OvsPatch , OvsPort , Match , Tc , TeamPort , Macsec , Dcb , WireGuard } |
Protected Attributes | |
Security8021xSettingPrivate *const | d_ptr |
Protected Attributes inherited from NetworkManager::Setting | |
SettingPrivate * | d_ptr |
Additional Inherited Members | |
Static Public Member Functions inherited from NetworkManager::Setting | |
static QString | typeAsString (SettingType type) |
static SettingType | typeFromString (const QString &type) |
Detailed Description
Represents 802.1x wireless security setting.
Definition at line 20 of file security8021xsetting.h.
Member Typedef Documentation
◆ List
Definition at line 24 of file security8021xsetting.h.
◆ Ptr
Definition at line 23 of file security8021xsetting.h.
Member Enumeration Documentation
◆ AuthEapMethod
enum NetworkManager::Security8021xSetting::AuthEapMethod |
Definition at line 63 of file security8021xsetting.h.
◆ AuthMethod
enum NetworkManager::Security8021xSetting::AuthMethod |
Definition at line 52 of file security8021xsetting.h.
◆ EapMethod
enum NetworkManager::Security8021xSetting::EapMethod |
Definition at line 25 of file security8021xsetting.h.
◆ FastProvisioning
enum NetworkManager::Security8021xSetting::FastProvisioning |
Definition at line 45 of file security8021xsetting.h.
◆ PeapLabel
enum NetworkManager::Security8021xSetting::PeapLabel |
Definition at line 41 of file security8021xsetting.h.
◆ PeapVersion
enum NetworkManager::Security8021xSetting::PeapVersion |
Definition at line 36 of file security8021xsetting.h.
Constructor & Destructor Documentation
◆ Security8021xSetting() [1/2]
NetworkManager::Security8021xSetting::Security8021xSetting | ( | ) |
Definition at line 28 of file security8021xsetting.cpp.
◆ Security8021xSetting() [2/2]
|
explicit |
Definition at line 34 of file security8021xsetting.cpp.
◆ ~Security8021xSetting()
|
override |
Definition at line 70 of file security8021xsetting.cpp.
Member Function Documentation
◆ altSubjectMatches()
QStringList NetworkManager::Security8021xSetting::altSubjectMatches | ( | ) | const |
Definition at line 201 of file security8021xsetting.cpp.
◆ anonymousIdentity()
QString NetworkManager::Security8021xSetting::anonymousIdentity | ( | ) | const |
Definition at line 117 of file security8021xsetting.cpp.
◆ caCertificate()
QByteArray NetworkManager::Security8021xSetting::caCertificate | ( | ) | const |
Definition at line 159 of file security8021xsetting.cpp.
◆ caPath()
QString NetworkManager::Security8021xSetting::caPath | ( | ) | const |
Definition at line 173 of file security8021xsetting.cpp.
◆ clientCertificate()
QByteArray NetworkManager::Security8021xSetting::clientCertificate | ( | ) | const |
Definition at line 215 of file security8021xsetting.cpp.
◆ domainSuffixMatch()
QString NetworkManager::Security8021xSetting::domainSuffixMatch | ( | ) | const |
Definition at line 131 of file security8021xsetting.cpp.
◆ eapMethods()
QList< NetworkManager::Security8021xSetting::EapMethod > NetworkManager::Security8021xSetting::eapMethods | ( | ) | const |
Definition at line 89 of file security8021xsetting.cpp.
◆ fromMap()
|
overridevirtual |
Must be reimplemented, default implementation does nothing.
Reimplemented from NetworkManager::Setting.
Definition at line 628 of file security8021xsetting.cpp.
◆ identity()
QString NetworkManager::Security8021xSetting::identity | ( | ) | const |
Definition at line 103 of file security8021xsetting.cpp.
◆ name()
|
overridevirtual |
Must be reimplemented, default implementationd does nothing.
Reimplemented from NetworkManager::Setting.
Definition at line 75 of file security8021xsetting.cpp.
◆ needSecrets()
|
overridevirtual |
Reimplemented from NetworkManager::Setting.
Definition at line 544 of file security8021xsetting.cpp.
◆ pacFile()
QString NetworkManager::Security8021xSetting::pacFile | ( | ) | const |
Definition at line 145 of file security8021xsetting.cpp.
◆ password()
QString NetworkManager::Security8021xSetting::password | ( | ) | const |
Definition at line 369 of file security8021xsetting.cpp.
◆ passwordFlags()
NetworkManager::Setting::SecretFlags NetworkManager::Security8021xSetting::passwordFlags | ( | ) | const |
Definition at line 383 of file security8021xsetting.cpp.
◆ passwordRaw()
QByteArray NetworkManager::Security8021xSetting::passwordRaw | ( | ) | const |
Definition at line 397 of file security8021xsetting.cpp.
◆ passwordRawFlags()
NetworkManager::Setting::SecretFlags NetworkManager::Security8021xSetting::passwordRawFlags | ( | ) | const |
Definition at line 411 of file security8021xsetting.cpp.
◆ phase1FastProvisioning()
NetworkManager::Security8021xSetting::FastProvisioning NetworkManager::Security8021xSetting::phase1FastProvisioning | ( | ) | const |
Definition at line 257 of file security8021xsetting.cpp.
◆ phase1PeapLabel()
NetworkManager::Security8021xSetting::PeapLabel NetworkManager::Security8021xSetting::phase1PeapLabel | ( | ) | const |
Definition at line 243 of file security8021xsetting.cpp.
◆ phase1PeapVersion()
NetworkManager::Security8021xSetting::PeapVersion NetworkManager::Security8021xSetting::phase1PeapVersion | ( | ) | const |
Definition at line 229 of file security8021xsetting.cpp.
◆ phase2AltSubjectMatches()
QStringList NetworkManager::Security8021xSetting::phase2AltSubjectMatches | ( | ) | const |
Definition at line 341 of file security8021xsetting.cpp.
◆ phase2AuthEapMethod()
NetworkManager::Security8021xSetting::AuthEapMethod NetworkManager::Security8021xSetting::phase2AuthEapMethod | ( | ) | const |
Definition at line 285 of file security8021xsetting.cpp.
◆ phase2AuthMethod()
NetworkManager::Security8021xSetting::AuthMethod NetworkManager::Security8021xSetting::phase2AuthMethod | ( | ) | const |
Definition at line 271 of file security8021xsetting.cpp.
◆ phase2CaCertificate()
QByteArray NetworkManager::Security8021xSetting::phase2CaCertificate | ( | ) | const |
Definition at line 299 of file security8021xsetting.cpp.
◆ phase2CaPath()
QString NetworkManager::Security8021xSetting::phase2CaPath | ( | ) | const |
Definition at line 313 of file security8021xsetting.cpp.
◆ phase2ClientCertificate()
QByteArray NetworkManager::Security8021xSetting::phase2ClientCertificate | ( | ) | const |
Definition at line 355 of file security8021xsetting.cpp.
◆ phase2PrivateKey()
QByteArray NetworkManager::Security8021xSetting::phase2PrivateKey | ( | ) | const |
Definition at line 467 of file security8021xsetting.cpp.
◆ phase2PrivateKeyPassword()
QString NetworkManager::Security8021xSetting::phase2PrivateKeyPassword | ( | ) | const |
Definition at line 481 of file security8021xsetting.cpp.
◆ phase2PrivateKeyPasswordFlags()
NetworkManager::Setting::SecretFlags NetworkManager::Security8021xSetting::phase2PrivateKeyPasswordFlags | ( | ) | const |
Definition at line 495 of file security8021xsetting.cpp.
◆ phase2SubjectMatch()
QString NetworkManager::Security8021xSetting::phase2SubjectMatch | ( | ) | const |
Definition at line 327 of file security8021xsetting.cpp.
◆ pin()
QString NetworkManager::Security8021xSetting::pin | ( | ) | const |
Definition at line 516 of file security8021xsetting.cpp.
◆ pinFlags()
NetworkManager::Setting::SecretFlags NetworkManager::Security8021xSetting::pinFlags | ( | ) | const |
Definition at line 530 of file security8021xsetting.cpp.
◆ privateKey()
QByteArray NetworkManager::Security8021xSetting::privateKey | ( | ) | const |
Definition at line 425 of file security8021xsetting.cpp.
◆ privateKeyPassword()
QString NetworkManager::Security8021xSetting::privateKeyPassword | ( | ) | const |
Definition at line 439 of file security8021xsetting.cpp.
◆ privateKeyPasswordFlags()
NetworkManager::Setting::SecretFlags NetworkManager::Security8021xSetting::privateKeyPasswordFlags | ( | ) | const |
Definition at line 453 of file security8021xsetting.cpp.
◆ secretsFromMap()
|
overridevirtual |
Reimplemented from NetworkManager::Setting.
Definition at line 578 of file security8021xsetting.cpp.
◆ secretsToMap()
|
overridevirtual |
Reimplemented from NetworkManager::Setting.
Definition at line 601 of file security8021xsetting.cpp.
◆ setAltSubjectMatches()
void NetworkManager::Security8021xSetting::setAltSubjectMatches | ( | const QStringList & | strings | ) |
Definition at line 194 of file security8021xsetting.cpp.
◆ setAnonymousIdentity()
void NetworkManager::Security8021xSetting::setAnonymousIdentity | ( | const QString & | identity | ) |
Definition at line 110 of file security8021xsetting.cpp.
◆ setCaCertificate()
void NetworkManager::Security8021xSetting::setCaCertificate | ( | const QByteArray & | certificate | ) |
Set certificate authority (ca)'s certificate for this setting.
- Parameters
-
certificate certificate's file path encoded into a byte array.
- Warning
- certificate have to be null terminated or NetworkManager will refuse it.
Definition at line 152 of file security8021xsetting.cpp.
◆ setCaPath()
void NetworkManager::Security8021xSetting::setCaPath | ( | const QString & | path | ) |
Definition at line 166 of file security8021xsetting.cpp.
◆ setClientCertificate()
void NetworkManager::Security8021xSetting::setClientCertificate | ( | const QByteArray & | certificate | ) |
Set client certificate for this setting.
- Parameters
-
certificate certificate's file path encoded into a byte array.
- Warning
- certificate have to be null terminated or NetworkManager will refuse it.
Definition at line 208 of file security8021xsetting.cpp.
◆ setDomainSuffixMatch()
void NetworkManager::Security8021xSetting::setDomainSuffixMatch | ( | const QString & | domainSuffixMatch | ) |
Definition at line 124 of file security8021xsetting.cpp.
◆ setEapMethods()
void NetworkManager::Security8021xSetting::setEapMethods | ( | const QList< EapMethod > & | methods | ) |
Definition at line 82 of file security8021xsetting.cpp.
◆ setIdentity()
void NetworkManager::Security8021xSetting::setIdentity | ( | const QString & | identity | ) |
Definition at line 96 of file security8021xsetting.cpp.
◆ setPacFile()
void NetworkManager::Security8021xSetting::setPacFile | ( | const QString & | filePath | ) |
Set UTF-8 encoded file path containing PAC for EAP-FAST.
- Parameters
-
filePath file path to be set.
Definition at line 138 of file security8021xsetting.cpp.
◆ setPassword()
void NetworkManager::Security8021xSetting::setPassword | ( | const QString & | password | ) |
Definition at line 362 of file security8021xsetting.cpp.
◆ setPasswordFlags()
void NetworkManager::Security8021xSetting::setPasswordFlags | ( | Setting::SecretFlags | flags | ) |
Definition at line 376 of file security8021xsetting.cpp.
◆ setPasswordRaw()
void NetworkManager::Security8021xSetting::setPasswordRaw | ( | const QByteArray & | password | ) |
Definition at line 390 of file security8021xsetting.cpp.
◆ setPasswordRawFlags()
void NetworkManager::Security8021xSetting::setPasswordRawFlags | ( | Setting::SecretFlags | flags | ) |
Definition at line 404 of file security8021xsetting.cpp.
◆ setPhase1FastProvisioning()
void NetworkManager::Security8021xSetting::setPhase1FastProvisioning | ( | FastProvisioning | provisioning | ) |
Definition at line 250 of file security8021xsetting.cpp.
◆ setPhase1PeapLabel()
void NetworkManager::Security8021xSetting::setPhase1PeapLabel | ( | PeapLabel | label | ) |
Definition at line 236 of file security8021xsetting.cpp.
◆ setPhase1PeapVersion()
void NetworkManager::Security8021xSetting::setPhase1PeapVersion | ( | PeapVersion | version | ) |
Definition at line 222 of file security8021xsetting.cpp.
◆ setPhase2AltSubjectMatches()
void NetworkManager::Security8021xSetting::setPhase2AltSubjectMatches | ( | const QStringList & | strings | ) |
Definition at line 334 of file security8021xsetting.cpp.
◆ setPhase2AuthEapMethod()
void NetworkManager::Security8021xSetting::setPhase2AuthEapMethod | ( | AuthEapMethod | method | ) |
Definition at line 278 of file security8021xsetting.cpp.
◆ setPhase2AuthMethod()
void NetworkManager::Security8021xSetting::setPhase2AuthMethod | ( | AuthMethod | method | ) |
Definition at line 264 of file security8021xsetting.cpp.
◆ setPhase2CaCertificate()
void NetworkManager::Security8021xSetting::setPhase2CaCertificate | ( | const QByteArray & | certificate | ) |
Contains the CA certificate if used by the EAP method specified in the phase2AuthMethod() or phase2AuthEapMethod() properties.
- Parameters
-
certificate certificate's file path encoded into a byte array.
- Warning
- certificate have to be null terminated or NetworkManager will refuse it.
Definition at line 292 of file security8021xsetting.cpp.
◆ setPhase2CaPath()
void NetworkManager::Security8021xSetting::setPhase2CaPath | ( | const QString & | path | ) |
Definition at line 306 of file security8021xsetting.cpp.
◆ setPhase2ClientCertificate()
void NetworkManager::Security8021xSetting::setPhase2ClientCertificate | ( | const QByteArray & | certificate | ) |
Definition at line 348 of file security8021xsetting.cpp.
◆ setPhase2PrivateKey()
void NetworkManager::Security8021xSetting::setPhase2PrivateKey | ( | const QByteArray & | key | ) |
Definition at line 460 of file security8021xsetting.cpp.
◆ setPhase2PrivateKeyPassword()
void NetworkManager::Security8021xSetting::setPhase2PrivateKeyPassword | ( | const QString & | password | ) |
Definition at line 474 of file security8021xsetting.cpp.
◆ setPhase2PrivateKeyPasswordFlags()
void NetworkManager::Security8021xSetting::setPhase2PrivateKeyPasswordFlags | ( | Setting::SecretFlags | flags | ) |
Definition at line 488 of file security8021xsetting.cpp.
◆ setPhase2SubjectMatch()
void NetworkManager::Security8021xSetting::setPhase2SubjectMatch | ( | const QString & | substring | ) |
Definition at line 320 of file security8021xsetting.cpp.
◆ setPin()
void NetworkManager::Security8021xSetting::setPin | ( | const QString & | pin | ) |
Definition at line 509 of file security8021xsetting.cpp.
◆ setPinFlags()
void NetworkManager::Security8021xSetting::setPinFlags | ( | Setting::SecretFlags | flags | ) |
Definition at line 523 of file security8021xsetting.cpp.
◆ setPrivateKey()
void NetworkManager::Security8021xSetting::setPrivateKey | ( | const QByteArray & | key | ) |
Set private key for this setting.
- Parameters
-
key the key to be set.
- Warning
- key have to be null terminated or NetworkManager will refuse it.
Definition at line 418 of file security8021xsetting.cpp.
◆ setPrivateKeyPassword()
void NetworkManager::Security8021xSetting::setPrivateKeyPassword | ( | const QString & | password | ) |
Definition at line 432 of file security8021xsetting.cpp.
◆ setPrivateKeyPasswordFlags()
void NetworkManager::Security8021xSetting::setPrivateKeyPasswordFlags | ( | Setting::SecretFlags | flags | ) |
Definition at line 446 of file security8021xsetting.cpp.
◆ setSubjectMatch()
void NetworkManager::Security8021xSetting::setSubjectMatch | ( | const QString & | substring | ) |
Definition at line 180 of file security8021xsetting.cpp.
◆ setSystemCaCertificates()
void NetworkManager::Security8021xSetting::setSystemCaCertificates | ( | bool | use | ) |
Definition at line 502 of file security8021xsetting.cpp.
◆ subjectMatch()
QString NetworkManager::Security8021xSetting::subjectMatch | ( | ) | const |
Definition at line 187 of file security8021xsetting.cpp.
◆ systemCaCertificates()
bool NetworkManager::Security8021xSetting::systemCaCertificates | ( | ) | const |
Definition at line 537 of file security8021xsetting.cpp.
◆ toMap()
|
overridevirtual |
Must be reimplemented, default implementationd does nothing.
Reimplemented from NetworkManager::Setting.
Definition at line 835 of file security8021xsetting.cpp.
Member Data Documentation
◆ d_ptr
|
protected |
Definition at line 222 of file security8021xsetting.h.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:08:13 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.