NetworkManager::WirelessSecuritySetting

Search for usage in LXR

NetworkManager::WirelessSecuritySetting Class Reference

#include <wirelesssecuritysetting.h>

Inheritance diagram for NetworkManager::WirelessSecuritySetting:

Public Types

enum  AuthAlg { None , Open , Shared , Leap }
 
enum  KeyMgmt {
  Unknown = -1 , Wep , Ieee8021x , WpaNone ,
  WpaPsk , WpaEap , SAE , WpaEapSuiteB192 ,
  OWE
}
 
typedef QList< PtrList
 
enum  Pmf { DefaultPmf , DisablePmf , OptionalPmf , RequiredPmf }
 
typedef QSharedPointer< WirelessSecuritySettingPtr
 
enum  WepKeyType { NotSpecified , Hex , Passphrase }
 
enum  WpaEncryptionCapabilities { Wep40 , Wep104 , Tkip , Ccmp }
 
enum  WpaProtocolVersion { Wpa , Rsn }
 
- Public Types inherited from NetworkManager::Setting
typedef QList< PtrList
 
enum  MacAddressRandomization { MacAddressRandomizationDefault = 0 , MacAddressRandomizationNever , MacAddressRandomizationAlways }
 
typedef QSharedPointer< SettingPtr
 
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
}
 

Public Member Functions

 WirelessSecuritySetting (const Ptr &other)
 
AuthAlg authAlg () const
 
void fromMap (const QVariantMap &map) override
 
QList< WpaEncryptionCapabilities > group () const
 
KeyMgmt keyMgmt () const
 
QString leapPassword () const
 
SecretFlags leapPasswordFlags () const
 
QString leapUsername () const
 
QString name () const override
 
QStringList needSecrets (bool requestNew=false) const override
 
QList< WpaEncryptionCapabilities > pairwise () const
 
Pmf pmf () const
 
QList< WpaProtocolVersion > proto () const
 
QString psk () const
 
SecretFlags pskFlags () const
 
void secretsFromMap (const QVariantMap &secrets) override
 
QVariantMap secretsToMap () const override
 
void setAuthAlg (AuthAlg alg)
 
void setGroup (const QList< WpaEncryptionCapabilities > &list)
 
void setKeyMgmt (KeyMgmt mgmt)
 
void setLeapPassword (const QString &password)
 
void setLeapPasswordFlags (SecretFlags type)
 
void setLeapUsername (const QString &username)
 
void setPairwise (const QList< WpaEncryptionCapabilities > &list)
 
void setPmf (Pmf pmf)
 
void setProto (const QList< WpaProtocolVersion > &list)
 
void setPsk (const QString &key)
 
void setPskFlags (SecretFlags type)
 
void setWepKey0 (const QString key)
 
void setWepKey1 (const QString key)
 
void setWepKey2 (const QString key)
 
void setWepKey3 (const QString key)
 
void setWepKeyFlags (SecretFlags type)
 
void setWepKeyType (WepKeyType type)
 
void setWepTxKeyindex (quint32 index)
 
QVariantMap toMap () const override
 
QString wepKey0 () const
 
QString wepKey1 () const
 
QString wepKey2 () const
 
QString wepKey3 () const
 
SecretFlags wepKeyFlags () const
 
WepKeyType wepKeyType () const
 
quint32 wepTxKeyindex () const
 
- Public Member Functions inherited from NetworkManager::Setting
 Setting (const Ptr &setting)
 
 Setting (SettingType type)
 
bool isNull () const
 
virtual void secretsFromStringMap (const NMStringMap &map)
 
virtual NMStringMap secretsToStringMap () const
 
void setInitialized (bool initialized)
 
void setType (SettingType type)
 
SettingType type () const
 

Protected Attributes

WirelessSecuritySettingPrivate * 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 wireless security setting.

Definition at line 22 of file wirelesssecuritysetting.h.

Member Typedef Documentation

◆ List

◆ Ptr

Member Enumeration Documentation

◆ AuthAlg

enum NetworkManager::WirelessSecuritySetting::AuthAlg

Definition at line 38 of file wirelesssecuritysetting.h.

◆ KeyMgmt

enum NetworkManager::WirelessSecuritySetting::KeyMgmt

Definition at line 27 of file wirelesssecuritysetting.h.

◆ Pmf

enum NetworkManager::WirelessSecuritySetting::Pmf

Definition at line 59 of file wirelesssecuritysetting.h.

◆ WepKeyType

enum NetworkManager::WirelessSecuritySetting::WepKeyType

Definition at line 54 of file wirelesssecuritysetting.h.

◆ WpaEncryptionCapabilities

enum NetworkManager::WirelessSecuritySetting::WpaEncryptionCapabilities

Definition at line 48 of file wirelesssecuritysetting.h.

◆ WpaProtocolVersion

enum NetworkManager::WirelessSecuritySetting::WpaProtocolVersion

Definition at line 44 of file wirelesssecuritysetting.h.

Constructor & Destructor Documentation

◆ WirelessSecuritySetting() [1/2]

NetworkManager::WirelessSecuritySetting::WirelessSecuritySetting ( )

Definition at line 29 of file wirelesssecuritysetting.cpp.

◆ WirelessSecuritySetting() [2/2]

NetworkManager::WirelessSecuritySetting::WirelessSecuritySetting ( const Ptr & other)
explicit

Definition at line 35 of file wirelesssecuritysetting.cpp.

◆ ~WirelessSecuritySetting()

NetworkManager::WirelessSecuritySetting::~WirelessSecuritySetting ( )
override

Definition at line 58 of file wirelesssecuritysetting.cpp.

Member Function Documentation

◆ authAlg()

NetworkManager::WirelessSecuritySetting::AuthAlg NetworkManager::WirelessSecuritySetting::authAlg ( ) const

Definition at line 105 of file wirelesssecuritysetting.cpp.

◆ fromMap()

void NetworkManager::WirelessSecuritySetting::fromMap ( const QVariantMap & map)
overridevirtual

Must be reimplemented, default implementation does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 436 of file wirelesssecuritysetting.cpp.

◆ group()

QList< NetworkManager::WirelessSecuritySetting::WpaEncryptionCapabilities > NetworkManager::WirelessSecuritySetting::group ( ) const

Definition at line 147 of file wirelesssecuritysetting.cpp.

◆ keyMgmt()

NetworkManager::WirelessSecuritySetting::KeyMgmt NetworkManager::WirelessSecuritySetting::keyMgmt ( ) const

Definition at line 77 of file wirelesssecuritysetting.cpp.

◆ leapPassword()

QString NetworkManager::WirelessSecuritySetting::leapPassword ( ) const

Definition at line 287 of file wirelesssecuritysetting.cpp.

◆ leapPasswordFlags()

NetworkManager::Setting::SecretFlags NetworkManager::WirelessSecuritySetting::leapPasswordFlags ( ) const

Definition at line 301 of file wirelesssecuritysetting.cpp.

◆ leapUsername()

QString NetworkManager::WirelessSecuritySetting::leapUsername ( ) const

Definition at line 161 of file wirelesssecuritysetting.cpp.

◆ name()

QString NetworkManager::WirelessSecuritySetting::name ( ) const
overridevirtual

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 63 of file wirelesssecuritysetting.cpp.

◆ needSecrets()

QStringList NetworkManager::WirelessSecuritySetting::needSecrets ( bool requestNew = false) const
overridevirtual

Reimplemented from NetworkManager::Setting.

Definition at line 380 of file wirelesssecuritysetting.cpp.

◆ pairwise()

QList< NetworkManager::WirelessSecuritySetting::WpaEncryptionCapabilities > NetworkManager::WirelessSecuritySetting::pairwise ( ) const

Definition at line 133 of file wirelesssecuritysetting.cpp.

◆ pmf()

NetworkManager::WirelessSecuritySetting::Pmf NetworkManager::WirelessSecuritySetting::pmf ( ) const

Definition at line 315 of file wirelesssecuritysetting.cpp.

◆ proto()

QList< NetworkManager::WirelessSecuritySetting::WpaProtocolVersion > NetworkManager::WirelessSecuritySetting::proto ( ) const

Definition at line 119 of file wirelesssecuritysetting.cpp.

◆ psk()

QString NetworkManager::WirelessSecuritySetting::psk ( ) const

Definition at line 259 of file wirelesssecuritysetting.cpp.

◆ pskFlags()

NetworkManager::Setting::SecretFlags NetworkManager::WirelessSecuritySetting::pskFlags ( ) const

Definition at line 273 of file wirelesssecuritysetting.cpp.

◆ secretsFromMap()

void NetworkManager::WirelessSecuritySetting::secretsFromMap ( const QVariantMap & secrets)
overridevirtual

Reimplemented from NetworkManager::Setting.

Definition at line 322 of file wirelesssecuritysetting.cpp.

◆ secretsToMap()

QVariantMap NetworkManager::WirelessSecuritySetting::secretsToMap ( ) const
overridevirtual

Reimplemented from NetworkManager::Setting.

Definition at line 349 of file wirelesssecuritysetting.cpp.

◆ setAuthAlg()

void NetworkManager::WirelessSecuritySetting::setAuthAlg ( AuthAlg alg)

Definition at line 98 of file wirelesssecuritysetting.cpp.

◆ setGroup()

void NetworkManager::WirelessSecuritySetting::setGroup ( const QList< WpaEncryptionCapabilities > & list)

Definition at line 140 of file wirelesssecuritysetting.cpp.

◆ setKeyMgmt()

void NetworkManager::WirelessSecuritySetting::setKeyMgmt ( KeyMgmt mgmt)

Definition at line 70 of file wirelesssecuritysetting.cpp.

◆ setLeapPassword()

void NetworkManager::WirelessSecuritySetting::setLeapPassword ( const QString & password)

Definition at line 280 of file wirelesssecuritysetting.cpp.

◆ setLeapPasswordFlags()

void NetworkManager::WirelessSecuritySetting::setLeapPasswordFlags ( SecretFlags type)

Definition at line 294 of file wirelesssecuritysetting.cpp.

◆ setLeapUsername()

void NetworkManager::WirelessSecuritySetting::setLeapUsername ( const QString & username)

Definition at line 154 of file wirelesssecuritysetting.cpp.

◆ setPairwise()

void NetworkManager::WirelessSecuritySetting::setPairwise ( const QList< WpaEncryptionCapabilities > & list)

Definition at line 126 of file wirelesssecuritysetting.cpp.

◆ setPmf()

void NetworkManager::WirelessSecuritySetting::setPmf ( Pmf pmf)

Definition at line 308 of file wirelesssecuritysetting.cpp.

◆ setProto()

void NetworkManager::WirelessSecuritySetting::setProto ( const QList< WpaProtocolVersion > & list)

Definition at line 112 of file wirelesssecuritysetting.cpp.

◆ setPsk()

void NetworkManager::WirelessSecuritySetting::setPsk ( const QString & key)

Definition at line 252 of file wirelesssecuritysetting.cpp.

◆ setPskFlags()

void NetworkManager::WirelessSecuritySetting::setPskFlags ( SecretFlags type)

Definition at line 266 of file wirelesssecuritysetting.cpp.

◆ setWepKey0()

void NetworkManager::WirelessSecuritySetting::setWepKey0 ( const QString key)

Definition at line 168 of file wirelesssecuritysetting.cpp.

◆ setWepKey1()

void NetworkManager::WirelessSecuritySetting::setWepKey1 ( const QString key)

Definition at line 182 of file wirelesssecuritysetting.cpp.

◆ setWepKey2()

void NetworkManager::WirelessSecuritySetting::setWepKey2 ( const QString key)

Definition at line 196 of file wirelesssecuritysetting.cpp.

◆ setWepKey3()

void NetworkManager::WirelessSecuritySetting::setWepKey3 ( const QString key)

Definition at line 210 of file wirelesssecuritysetting.cpp.

◆ setWepKeyFlags()

void NetworkManager::WirelessSecuritySetting::setWepKeyFlags ( SecretFlags type)

Definition at line 224 of file wirelesssecuritysetting.cpp.

◆ setWepKeyType()

void NetworkManager::WirelessSecuritySetting::setWepKeyType ( WepKeyType type)

Definition at line 238 of file wirelesssecuritysetting.cpp.

◆ setWepTxKeyindex()

void NetworkManager::WirelessSecuritySetting::setWepTxKeyindex ( quint32 index)

Definition at line 84 of file wirelesssecuritysetting.cpp.

◆ toMap()

QVariantMap NetworkManager::WirelessSecuritySetting::toMap ( ) const
overridevirtual

Must be reimplemented, default implementationd does nothing.

Reimplemented from NetworkManager::Setting.

Definition at line 576 of file wirelesssecuritysetting.cpp.

◆ wepKey0()

QString NetworkManager::WirelessSecuritySetting::wepKey0 ( ) const

Definition at line 175 of file wirelesssecuritysetting.cpp.

◆ wepKey1()

QString NetworkManager::WirelessSecuritySetting::wepKey1 ( ) const

Definition at line 189 of file wirelesssecuritysetting.cpp.

◆ wepKey2()

QString NetworkManager::WirelessSecuritySetting::wepKey2 ( ) const

Definition at line 203 of file wirelesssecuritysetting.cpp.

◆ wepKey3()

QString NetworkManager::WirelessSecuritySetting::wepKey3 ( ) const

Definition at line 217 of file wirelesssecuritysetting.cpp.

◆ wepKeyFlags()

NetworkManager::Setting::SecretFlags NetworkManager::WirelessSecuritySetting::wepKeyFlags ( ) const

Definition at line 231 of file wirelesssecuritysetting.cpp.

◆ wepKeyType()

NetworkManager::WirelessSecuritySetting::WepKeyType NetworkManager::WirelessSecuritySetting::wepKeyType ( ) const

Definition at line 245 of file wirelesssecuritysetting.cpp.

◆ wepTxKeyindex()

quint32 NetworkManager::WirelessSecuritySetting::wepTxKeyindex ( ) const

Definition at line 91 of file wirelesssecuritysetting.cpp.

Member Data Documentation

◆ d_ptr

WirelessSecuritySettingPrivate* NetworkManager::WirelessSecuritySetting::d_ptr
protected

Definition at line 137 of file wirelesssecuritysetting.h.


The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Dec 20 2024 11:59:06 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.