|
DtkNetworkManager
NetworkManager DBus interface binding for Qt
|


Public 类型 | |
| enum class | EapMethod { Unknown = 0 , Leap , Md5 , Tls , Peap , Ttls , Sim , Fast , Pwd } |
| enum class | PeapVersion { Unknown = -1 , Zero , One } |
| enum class | PeapLabel { Unknown = 0 , Force } |
| enum class | FastProvisioning { Unknown = -1 , Disabled , AllowUnauthenticated , AllowAuthenticated , AllowBoth } |
| enum class | AuthMethod { Unknown = 0 , Pap , Chap , Mschap , Mschapv2 , Gtc , Otp , Md5 , Tls } |
| enum class | AuthEapMethod { Unknown = 0 , Md5 , Mschapv2 , Otp , Gtc , Tls } |
Public 类型 继承自 Dtk::NetworkManager::DNMSetting | |
| enum class | SettingType { Unknown , 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 } |
| enum class | SecretFlagType { None = 0 , AgentOwned = 0x01 , NotSaved = 0x02 , NotRequired = 0x04 } |
Public 成员函数 | |
| DSecurity8021xSetting (const QSharedPointer< DSecurity8021xSetting > &other) | |
| QString | name () const override |
| void | setEapMethods (const QList< EapMethod > &methods) |
| QList< EapMethod > | eapMethods () const |
| void | setIdentity (const QString &identity) |
| QString | identity () const |
| void | setAnonymousIdentity (const QString &identity) |
| QString | anonymousIdentity () const |
| void | setDomainSuffixMatch (const QString &domainSuffixMatch) |
| QString | domainSuffixMatch () const |
| void | setPacFile (const QString &filePath) |
| QString | pacFile () const |
| void | setCaCertificate (const QByteArray &certificate) |
| QByteArray | caCertificate () const |
| void | setCaPath (const QString &path) |
| QString | caPath () const |
| void | setAltSubjectMatches (const QStringList &strings) |
| QStringList | altSubjectMatches () const |
| void | setClientCertificate (const QByteArray &certificate) |
| QByteArray | clientCertificate () const |
| void | setPhase1PeapVersion (PeapVersion version) |
| PeapVersion | phase1PeapVersion () const |
| void | setPhase1PeapLabel (PeapLabel label) |
| PeapLabel | phase1PeapLabel () const |
| void | setPhase1FastProvisioning (FastProvisioning provisioning) |
| FastProvisioning | phase1FastProvisioning () const |
| void | setPhase2AuthMethod (AuthMethod method) |
| AuthMethod | phase2AuthMethod () const |
| void | setPhase2AuthEapMethod (AuthEapMethod method) |
| AuthEapMethod | phase2AuthEapMethod () const |
| void | setPhase2CaCertificate (const QByteArray &certificate) |
| QByteArray | phase2CaCertificate () const |
| void | setPhase2CaPath (const QString &path) |
| QString | phase2CaPath () const |
| void | setPhase2DomainSuffixMatch (const QString &substring) |
| QString | phase2DomainSuffixMatch () const |
| void | setPhase2AltSubjectMatches (const QStringList &strings) |
| QStringList | phase2AltSubjectMatches () const |
| void | setPhase2ClientCertificate (const QByteArray &certificate) |
| QByteArray | phase2ClientCertificate () const |
| void | setPassword (const QString &password) |
| QString | password () const |
| void | setPasswordFlags (DNMSetting::SecretFlags flags) |
| DNMSetting::SecretFlags | passwordFlags () const |
| void | setPasswordRaw (const QByteArray &password) |
| QByteArray | passwordRaw () const |
| void | setPasswordRawFlags (DNMSetting::SecretFlags flags) |
| DNMSetting::SecretFlags | passwordRawFlags () const |
| void | setPrivateKey (const QByteArray &key) |
| QByteArray | privateKey () const |
| void | setPrivateKeyPassword (const QString &password) |
| QString | privateKeyPassword () const |
| void | setPrivateKeyPasswordFlags (DNMSetting::SecretFlags flags) |
| DNMSetting::SecretFlags | privateKeyPasswordFlags () const |
| void | setPhase2PrivateKey (const QByteArray &key) |
| QByteArray | phase2PrivateKey () const |
| void | setPhase2PrivateKeyPassword (const QString &password) |
| QString | phase2PrivateKeyPassword () const |
| void | setPhase2PrivateKeyPasswordFlags (DNMSetting::SecretFlags flags) |
| DNMSetting::SecretFlags | phase2PrivateKeyPasswordFlags () const |
| void | setPin (const QString &pin) |
| QString | pin () const |
| void | setPinFlags (DNMSetting::SecretFlags flags) |
| DNMSetting::SecretFlags | pinFlags () const |
| void | setSystemCaCertificates (bool use) |
| bool | systemCaCertificates () const |
| QStringList | needSecrets (bool requestNew=false) const override |
| void | fromMap (const QVariantMap &setting) override |
| QVariantMap | toMap () const override |
| QVariantMap | secretsToMap () const override |
| void | mapToSecrets (const QVariantMap &secrets) override |
Public 成员函数 继承自 Dtk::NetworkManager::DNMSetting | |
| DNMSetting (SettingType type) | |
| DNMSetting (const QSharedPointer< DNMSetting > &setting) | |
| virtual void | fromMap (const QVariantMap &map)=0 |
| virtual QVariantMap | toMap () const =0 |
| virtual QString | name () const =0 |
| void | setType (SettingType type) |
| SettingType | type () const |
| bool | isInit () const |
| void | setInit (bool init) |
| virtual QStringList | needSecrets (bool request=false) const |
| virtual QVariantMap | secretsToMap () const |
| virtual void | mapToSecrets (const QVariantMap &secrets) |
| virtual void | stringMapTosecrets (const QMap< QString, QString > &map) |
| virtual QMap< QString, QString > | secretsToStringMap () const |
Protected 属性 | |
| QScopedPointer< DSecurity8021xSettingPrivate > | d_ptr |
Protected 属性 继承自 Dtk::NetworkManager::DNMSetting | |
| QScopedPointer< DNMSettingPrivate > | d_ptr |
额外继承的成员函数 | |
静态 Public 成员函数 继承自 Dtk::NetworkManager::DNMSetting | |
| static QString | typeToString (const SettingType type) |
| static SettingType | stringToType (const QString &str) |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |