NetworkManager::MacsecSetting
NetworkManager::MacsecSetting Class Reference
#include <macsecsetting.h>
Inheritance diagram for NetworkManager::MacsecSetting:

Public Types | |
typedef QList< Ptr > | List |
enum | Mode { Psk, Eap } |
typedef QSharedPointer< MacsecSetting > | Ptr |
enum | Validation { Disable, Check, Strict } |
![]() | |
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 } |
Public Member Functions | |
MacsecSetting (const Ptr &other) | |
bool | encrypt () const |
void | fromMap (const QVariantMap &setting) override |
QString | mkaCak () const |
Setting::SecretFlags | mkaCakFlags () const |
QString | mkaCkn () const |
Mode | mode () const |
QString | name () const override |
QStringList | needSecrets (bool requestNew=false) const override |
QString | parent () const |
qint32 | port () const |
void | secretsFromMap (const QVariantMap &secrets) override |
QVariantMap | secretsToMap () const override |
bool | sendSci () const |
void | setEncrypt (bool encrypt) |
void | setMkaCak (const QString &mkaCak) |
void | setMkaCakFlags (Setting::SecretFlags flags) |
void | setMkaCkn (const QString &mkaCkn) |
void | setMode (Mode mode) |
void | setParent (const QString &parent) |
void | setPort (qint32 port) |
void | setSendSci (bool sendSci) |
void | setValidation (Validation validation) |
QVariantMap | toMap () const override |
Validation | validation () const |
![]() | |
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 | |
MacsecSettingPrivate * | d_ptr |
![]() | |
SettingPrivate * | d_ptr |
Additional Inherited Members | |
![]() | |
static QString | typeAsString (SettingType type) |
static SettingType | typeFromString (const QString &type) |
Detailed Description
Represents Macsec setting.
Definition at line 20 of file macsecsetting.h.
Member Function Documentation
◆ fromMap()
|
overridevirtual |
Must be reimplemented, default implementation does nothing.
Reimplemented from NetworkManager::Setting.
Definition at line 227 of file macsecsetting.cpp.
◆ name()
|
overridevirtual |
Must be reimplemented, default implementationd does nothing.
Reimplemented from NetworkManager::Setting.
Definition at line 65 of file macsecsetting.cpp.
◆ toMap()
|
overridevirtual |
Must be reimplemented, default implementationd does nothing.
Reimplemented from NetworkManager::Setting.
Definition at line 266 of file macsecsetting.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon May 8 2023 04:05:36 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon May 8 2023 04:05:36 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.