openvpn-connection.h
Go to the documentation of this file.
/*
* Copyright © 2015 Canonical Ltd.
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License version 3,
* as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
* Authors:
* Pete Woods <pete.woods@canonical.com>
*/
#pragma once
#include <connectivityqt/vpn-connection.h>
namespace connectivityqt
{
class Q_DECL_EXPORT OpenvpnConnection : public VpnConnection
{
Q_OBJECT
public:
LOMIRI_DEFINES_PTRS(OpenvpnConnection);
Q_ENUMS(ConnectionType)
enum ConnectionType
{
TLS,
PASSWORD,
PASSWORD_TLS,
STATIC_KEY
};
Q_ENUMS(DevType)
enum DevType
{
TUN,
TAP
};
Q_ENUMS(Cipher)
enum Cipher
{
DEFAULT_CIPHER,
DES_CBC,
RC2_CBC,
DES_EDE_CBC,
DES_EDE3_CBC,
DESX_CBC,
RC2_40_CBC,
CAST5_CBC,
AES_128_CBC,
AES_192_CBC,
AES_256_CBC,
CAMELLIA_128_CBC,
CAMELLIA_192_CBC,
CAMELLIA_256_CBC,
SEED_CBC,
AES_128_CBC_HMAC_SHA1,
AES_256_CBC_HMAC_SHA1
};
Q_ENUMS(Auth)
enum Auth
{
DEFAULT_AUTH,
NONE,
RSA_MD4,
MD5,
SHA1,
SHA224,
SHA256,
SHA384,
SHA512,
RIPEMD160
};
Q_ENUMS(TlsType)
enum TlsType
{
SERVER,
CLIENT
};
Q_ENUMS(KeyDir)
enum KeyDir
{
KEY_NONE,
ZERO,
ONE
};
Q_ENUMS(ProxyType)
enum ProxyType
{
NOT_REQUIRED,
HTTP,
SOCKS
};
OpenvpnConnection(const QDBusObjectPath& path, const QDBusConnection& connection);
virtual ~OpenvpnConnection();
Type type() const override;
// Basic properties
Q_PROPERTY(QString ca READ ca WRITE setCa NOTIFY caChanged)
QString ca() const;
Q_PROPERTY(QString cert READ cert WRITE setCert NOTIFY certChanged)
QString cert() const;
Q_PROPERTY(QString certPass READ certPass WRITE setCertPass NOTIFY certPassChanged)
QString certPass() const;
Q_PROPERTY(ConnectionType connectionType READ connectionType WRITE setConnectionType NOTIFY connectionTypeChanged)
ConnectionType connectionType() const;
Q_PROPERTY(QString key READ key WRITE setKey NOTIFY keyChanged)
QString key() const;
Q_PROPERTY(QString localIp READ localIp WRITE setLocalIp NOTIFY localIpChanged)
QString localIp() const;
Q_PROPERTY(QString password READ password WRITE setPassword NOTIFY passwordChanged)
QString password() const;
Q_PROPERTY(QString remote READ remote WRITE setRemote NOTIFY remoteChanged)
QString remote() const;
Q_PROPERTY(QString remoteIp READ remoteIp WRITE setRemoteIp NOTIFY remoteIpChanged)
QString remoteIp() const;
Q_PROPERTY(QString staticKey READ staticKey WRITE setStaticKey NOTIFY staticKeyChanged)
QString staticKey() const;
Q_PROPERTY(KeyDir staticKeyDirection READ staticKeyDirection WRITE setStaticKeyDirection NOTIFY staticKeyDirectionChanged)
KeyDir staticKeyDirection() const;
Q_PROPERTY(QString username READ username WRITE setUsername NOTIFY usernameChanged)
QString username() const;
// Advanced general properties
Q_PROPERTY(int port READ port WRITE setPort NOTIFY portChanged)
int port() const;
Q_PROPERTY(bool portSet READ portSet WRITE setPortSet NOTIFY portSetChanged)
bool portSet() const;
Q_PROPERTY(int renegSeconds READ renegSeconds WRITE setRenegSeconds NOTIFY renegSecondsChanged)
int renegSeconds() const;
Q_PROPERTY(bool renegSecondsSet READ renegSecondsSet WRITE setRenegSecondsSet NOTIFY renegSecondsSetChanged)
bool renegSecondsSet() const;
Q_PROPERTY(bool compLzo READ compLzo WRITE setCompLzo NOTIFY compLzoChanged)
bool compLzo() const;
Q_PROPERTY(bool protoTcp READ protoTcp WRITE setProtoTcp NOTIFY protoTcpChanged)
bool protoTcp() const;
Q_PROPERTY(QString dev READ dev WRITE setDev NOTIFY devChanged)
QString dev() const;
Q_PROPERTY(DevType devType READ devType WRITE setDevType NOTIFY devTypeChanged)
DevType devType() const;
Q_PROPERTY(bool devTypeSet READ devTypeSet WRITE setDevTypeSet NOTIFY devTypeSetChanged)
bool devTypeSet() const;
Q_PROPERTY(int tunnelMtu READ tunnelMtu WRITE setTunnelMtu NOTIFY tunnelMtuChanged)
int tunnelMtu() const;
Q_PROPERTY(bool tunnelMtuSet READ tunnelMtuSet WRITE setTunnelMtuSet NOTIFY tunnelMtuSetChanged)
bool tunnelMtuSet() const;
Q_PROPERTY(int fragmentSize READ fragmentSize WRITE setFragmentSize NOTIFY fragmentSizeChanged)
int fragmentSize() const;
Q_PROPERTY(bool fragmentSizeSet READ fragmentSizeSet WRITE setFragmentSizeSet NOTIFY fragmentSizeSetChanged)
bool fragmentSizeSet() const;
Q_PROPERTY(bool mssFix READ mssFix WRITE setMssFix NOTIFY mssFixChanged)
bool mssFix() const;
Q_PROPERTY(bool remoteRandom READ remoteRandom WRITE setRemoteRandom NOTIFY remoteRandomChanged)
bool remoteRandom() const;
// Advanced security properties
Q_PROPERTY(Cipher cipher READ cipher WRITE setCipher NOTIFY cipherChanged)
Cipher cipher() const;
Q_PROPERTY(int keysize READ keysize WRITE setKeysize NOTIFY keysizeChanged)
int keysize() const;
Q_PROPERTY(bool keysizeSet READ keysizeSet WRITE setKeysizeSet NOTIFY keysizeSetChanged)
bool keysizeSet() const;
Q_PROPERTY(Auth auth READ auth WRITE setAuth NOTIFY authChanged)
Auth auth() const;
// Advanced TLS auth properties
Q_PROPERTY(QString tlsRemote READ tlsRemote WRITE setTlsRemote NOTIFY tlsRemoteChanged)
QString tlsRemote() const;
Q_PROPERTY(TlsType remoteCertTls READ remoteCertTls WRITE setRemoteCertTls NOTIFY remoteCertTlsChanged)
TlsType remoteCertTls() const;
Q_PROPERTY(bool remoteCertTlsSet READ remoteCertTlsSet WRITE setRemoteCertTlsSet NOTIFY remoteCertTlsSetChanged)
bool remoteCertTlsSet() const;
Q_PROPERTY(QString ta READ ta WRITE setTa NOTIFY taChanged)
QString ta() const;
Q_PROPERTY(KeyDir taDir READ taDir WRITE setTaDir NOTIFY taDirChanged)
KeyDir taDir() const;
Q_PROPERTY(bool taSet READ taSet WRITE setTaSet NOTIFY taSetChanged)
bool taSet() const;
// Advanced proxy settings
Q_PROPERTY(ProxyType proxyType READ proxyType WRITE setProxyType NOTIFY proxyTypeChanged)
ProxyType proxyType() const;
Q_PROPERTY(QString proxyServer READ proxyServer WRITE setProxyServer NOTIFY proxyServerChanged)
QString proxyServer() const;
Q_PROPERTY(int proxyPort READ proxyPort WRITE setProxyPort NOTIFY proxyPortChanged)
int proxyPort() const;
Q_PROPERTY(bool proxyRetry READ proxyRetry WRITE setProxyRetry NOTIFY proxyRetryChanged)
bool proxyRetry() const;
Q_PROPERTY(QString proxyUsername READ proxyUsername WRITE setProxyUsername NOTIFY proxyUsernameChanged)
QString proxyUsername() const;
Q_PROPERTY(QString proxyPassword READ proxyPassword WRITE setProxyPassword NOTIFY proxyPasswordChanged)
QString proxyPassword() const;
public Q_SLOTS:
// Basic properties
void setCa(const QString &value);
void setCert(const QString &value);
void setCertPass(const QString &value);
void setConnectionType(ConnectionType connectionType);
void setKey(const QString &value);
void setLocalIp(const QString &value);
void setPassword(const QString &value);
void setRemote(const QString &value);
void setRemoteIp(const QString &value);
void setStaticKey(const QString &value);
void setStaticKeyDirection(KeyDir value);
void setUsername(const QString &value);
// Advanced general properties
void setPort(int value);
void setPortSet(bool value);
void setRenegSeconds(int value);
void setRenegSecondsSet(bool value);
void setCompLzo(bool value);
void setProtoTcp(bool value);
void setDev(const QString &value);
void setDevType(DevType value);
void setDevTypeSet(bool value);
void setTunnelMtu(int value);
void setTunnelMtuSet(bool value);
void setFragmentSize(int value);
void setFragmentSizeSet(bool value);
void setMssFix(bool value);
void setRemoteRandom(bool value);
// Advanced security properties
void setCipher(Cipher value);
void setKeysize(int value);
void setKeysizeSet(bool value);
void setAuth(Auth value);
// Advanced TLS auth properties
void setTlsRemote(const QString &value);
void setRemoteCertTls(TlsType value);
void setRemoteCertTlsSet(bool value);
void setTa(const QString &value);
void setTaDir(KeyDir value);
void setTaSet(bool value);
// Advanced proxy settings
void setProxyType(ProxyType value);
void setProxyServer(const QString &value);
void setProxyPort(int value);
void setProxyRetry(bool value);
void setProxyUsername(const QString &value);
void setProxyPassword(const QString &value);
Q_SIGNALS:
// Basic properties
void caChanged(const QString &value);
void certChanged(const QString &value);
void certPassChanged(const QString &value);
void connectionTypeChanged(ConnectionType connectionType);
void keyChanged(const QString &value);
void localIpChanged(const QString &value);
void passwordChanged(const QString &value);
void remoteChanged(const QString &value);
void remoteIpChanged(const QString &value);
void staticKeyChanged(const QString &value);
void staticKeyDirectionChanged(KeyDir value);
void usernameChanged(const QString &value);
// Advanced general properties
void portChanged(int value);
void portSetChanged(bool value);
void renegSecondsChanged(int value);
void renegSecondsSetChanged(bool value);
void compLzoChanged(bool value);
void protoTcpChanged(bool value);
void devChanged(const QString &value);
void devTypeChanged(DevType value);
void devTypeSetChanged(bool value);
void tunnelMtuChanged(int value);
void tunnelMtuSetChanged(bool value);
void fragmentSizeChanged(int value);
void fragmentSizeSetChanged(bool value);
void mssFixChanged(bool value);
void remoteRandomChanged(bool value);
// Advanced security properties
void cipherChanged(Cipher value);
void keysizeChanged(int value);
void keysizeSetChanged(bool value);
void authChanged(Auth value);
// Advanced TLS auth properties
void tlsRemoteChanged(const QString &value);
void remoteCertTlsChanged(TlsType value);
void remoteCertTlsSetChanged(bool value);
void taChanged(const QString &value);
void taDirChanged(KeyDir value);
void taSetChanged(bool value);
// Advanced proxy tings
void proxyTypeChanged(ProxyType value);
void proxyServerChanged(const QString &value);
void proxyPortChanged(int value);
void proxyRetryChanged(bool value);
void proxyUsernameChanged(const QString &value);
void proxyPasswordChanged(const QString &value);
protected:
class Priv;
std::shared_ptr<Priv> d;
};
}
connectivityqt::OpenvpnConnection
Definition openvpn-connection.h:28
connectivityqt::OpenvpnConnection::setTaDir
void setTaDir(KeyDir value)
connectivityqt::OpenvpnConnection::port
int port
Definition openvpn-connection.h:156
connectivityqt::OpenvpnConnection::certPassChanged
void certPassChanged(const QString &value)
connectivityqt::OpenvpnConnection::setCompLzo
void setCompLzo(bool value)
connectivityqt::OpenvpnConnection::proxyRetryChanged
void proxyRetryChanged(bool value)
connectivityqt::OpenvpnConnection::setCa
void setCa(const QString &value)
connectivityqt::OpenvpnConnection::staticKeyDirectionChanged
void staticKeyDirectionChanged(KeyDir value)
connectivityqt::OpenvpnConnection::setDevTypeSet
void setDevTypeSet(bool value)
connectivityqt::OpenvpnConnection::setTa
void setTa(const QString &value)
connectivityqt::OpenvpnConnection::setCertPass
void setCertPass(const QString &value)
connectivityqt::OpenvpnConnection::auth
Auth auth
Definition openvpn-connection.h:212
connectivityqt::OpenvpnConnection::d
std::shared_ptr< Priv > d
Definition openvpn-connection.h:451
connectivityqt::OpenvpnConnection::cert
QString cert
Definition openvpn-connection.h:121
connectivityqt::OpenvpnConnection::Auth
Auth
Definition openvpn-connection.h:74
connectivityqt::OpenvpnConnection::RSA_MD4
@ RSA_MD4
Definition openvpn-connection.h:77
connectivityqt::OpenvpnConnection::SHA1
@ SHA1
Definition openvpn-connection.h:79
connectivityqt::OpenvpnConnection::SHA384
@ SHA384
Definition openvpn-connection.h:82
connectivityqt::OpenvpnConnection::DEFAULT_AUTH
@ DEFAULT_AUTH
Definition openvpn-connection.h:75
connectivityqt::OpenvpnConnection::SHA224
@ SHA224
Definition openvpn-connection.h:80
connectivityqt::OpenvpnConnection::MD5
@ MD5
Definition openvpn-connection.h:78
connectivityqt::OpenvpnConnection::RIPEMD160
@ RIPEMD160
Definition openvpn-connection.h:84
connectivityqt::OpenvpnConnection::SHA512
@ SHA512
Definition openvpn-connection.h:83
connectivityqt::OpenvpnConnection::NONE
@ NONE
Definition openvpn-connection.h:76
connectivityqt::OpenvpnConnection::SHA256
@ SHA256
Definition openvpn-connection.h:81
connectivityqt::OpenvpnConnection::staticKey
QString staticKey
Definition openvpn-connection.h:145
connectivityqt::OpenvpnConnection::proxyPasswordChanged
void proxyPasswordChanged(const QString &value)
connectivityqt::OpenvpnConnection::staticKeyDirection
KeyDir staticKeyDirection
Definition openvpn-connection.h:148
connectivityqt::OpenvpnConnection::setProxyPassword
void setProxyPassword(const QString &value)
connectivityqt::OpenvpnConnection::proxyPort
int proxyPort
Definition openvpn-connection.h:243
connectivityqt::OpenvpnConnection::setFragmentSizeSet
void setFragmentSizeSet(bool value)
connectivityqt::OpenvpnConnection::portSetChanged
void portSetChanged(bool value)
connectivityqt::OpenvpnConnection::fragmentSizeSetChanged
void fragmentSizeSetChanged(bool value)
connectivityqt::OpenvpnConnection::remoteCertTlsSetChanged
void remoteCertTlsSetChanged(bool value)
connectivityqt::OpenvpnConnection::remoteIp
QString remoteIp
Definition openvpn-connection.h:142
connectivityqt::OpenvpnConnection::setCert
void setCert(const QString &value)
connectivityqt::OpenvpnConnection::keysize
int keysize
Definition openvpn-connection.h:206
connectivityqt::OpenvpnConnection::cipherChanged
void cipherChanged(Cipher value)
connectivityqt::OpenvpnConnection::passwordChanged
void passwordChanged(const QString &value)
connectivityqt::OpenvpnConnection::setConnectionType
void setConnectionType(ConnectionType connectionType)
connectivityqt::OpenvpnConnection::mssFix
bool mssFix
Definition openvpn-connection.h:195
connectivityqt::OpenvpnConnection::proxyServer
QString proxyServer
Definition openvpn-connection.h:240
connectivityqt::OpenvpnConnection::setRemoteIp
void setRemoteIp(const QString &value)
connectivityqt::OpenvpnConnection::devChanged
void devChanged(const QString &value)
connectivityqt::OpenvpnConnection::fragmentSizeChanged
void fragmentSizeChanged(int value)
connectivityqt::OpenvpnConnection::fragmentSizeSet
bool fragmentSizeSet
Definition openvpn-connection.h:192
connectivityqt::OpenvpnConnection::remoteRandomChanged
void remoteRandomChanged(bool value)
connectivityqt::OpenvpnConnection::remoteChanged
void remoteChanged(const QString &value)
connectivityqt::OpenvpnConnection::setDev
void setDev(const QString &value)
connectivityqt::OpenvpnConnection::setRemote
void setRemote(const QString &value)
connectivityqt::OpenvpnConnection::keyChanged
void keyChanged(const QString &value)
connectivityqt::OpenvpnConnection::tunnelMtuSetChanged
void tunnelMtuSetChanged(bool value)
connectivityqt::OpenvpnConnection::TlsType
TlsType
Definition openvpn-connection.h:89
connectivityqt::OpenvpnConnection::CLIENT
@ CLIENT
Definition openvpn-connection.h:91
connectivityqt::OpenvpnConnection::SERVER
@ SERVER
Definition openvpn-connection.h:90
connectivityqt::OpenvpnConnection::setAuth
void setAuth(Auth value)
connectivityqt::OpenvpnConnection::renegSecondsChanged
void renegSecondsChanged(int value)
connectivityqt::OpenvpnConnection::certPass
QString certPass
Definition openvpn-connection.h:124
connectivityqt::OpenvpnConnection::keysizeSet
bool keysizeSet
Definition openvpn-connection.h:209
connectivityqt::OpenvpnConnection::remoteCertTlsSet
bool remoteCertTlsSet
Definition openvpn-connection.h:223
connectivityqt::OpenvpnConnection::setTlsRemote
void setTlsRemote(const QString &value)
connectivityqt::OpenvpnConnection::protoTcp
bool protoTcp
Definition openvpn-connection.h:171
connectivityqt::OpenvpnConnection::DevType
DevType
Definition openvpn-connection.h:45
connectivityqt::OpenvpnConnection::TAP
@ TAP
Definition openvpn-connection.h:47
connectivityqt::OpenvpnConnection::TUN
@ TUN
Definition openvpn-connection.h:46
connectivityqt::OpenvpnConnection::devTypeSetChanged
void devTypeSetChanged(bool value)
connectivityqt::OpenvpnConnection::setTunnelMtuSet
void setTunnelMtuSet(bool value)
connectivityqt::OpenvpnConnection::dev
QString dev
Definition openvpn-connection.h:174
connectivityqt::OpenvpnConnection::taChanged
void taChanged(const QString &value)
connectivityqt::OpenvpnConnection::renegSecondsSetChanged
void renegSecondsSetChanged(bool value)
connectivityqt::OpenvpnConnection::tunnelMtuSet
bool tunnelMtuSet
Definition openvpn-connection.h:186
connectivityqt::OpenvpnConnection::connectionTypeChanged
void connectionTypeChanged(ConnectionType connectionType)
connectivityqt::OpenvpnConnection::ProxyType
ProxyType
Definition openvpn-connection.h:104
connectivityqt::OpenvpnConnection::NOT_REQUIRED
@ NOT_REQUIRED
Definition openvpn-connection.h:105
connectivityqt::OpenvpnConnection::SOCKS
@ SOCKS
Definition openvpn-connection.h:107
connectivityqt::OpenvpnConnection::HTTP
@ HTTP
Definition openvpn-connection.h:106
connectivityqt::OpenvpnConnection::setTunnelMtu
void setTunnelMtu(int value)
connectivityqt::OpenvpnConnection::remoteCertTls
TlsType remoteCertTls
Definition openvpn-connection.h:220
connectivityqt::OpenvpnConnection::proxyUsernameChanged
void proxyUsernameChanged(const QString &value)
connectivityqt::OpenvpnConnection::tunnelMtu
int tunnelMtu
Definition openvpn-connection.h:183
connectivityqt::OpenvpnConnection::remoteIpChanged
void remoteIpChanged(const QString &value)
connectivityqt::OpenvpnConnection::devType
DevType devType
Definition openvpn-connection.h:177
connectivityqt::OpenvpnConnection::connectionType
ConnectionType connectionType
Definition openvpn-connection.h:127
connectivityqt::OpenvpnConnection::portSet
bool portSet
Definition openvpn-connection.h:159
connectivityqt::OpenvpnConnection::proxyRetry
bool proxyRetry
Definition openvpn-connection.h:246
connectivityqt::OpenvpnConnection::proxyUsername
QString proxyUsername
Definition openvpn-connection.h:249
connectivityqt::OpenvpnConnection::setProxyUsername
void setProxyUsername(const QString &value)
connectivityqt::OpenvpnConnection::caChanged
void caChanged(const QString &value)
connectivityqt::OpenvpnConnection::setRenegSeconds
void setRenegSeconds(int value)
connectivityqt::OpenvpnConnection::setFragmentSize
void setFragmentSize(int value)
connectivityqt::OpenvpnConnection::tlsRemoteChanged
void tlsRemoteChanged(const QString &value)
connectivityqt::OpenvpnConnection::remote
QString remote
Definition openvpn-connection.h:139
connectivityqt::OpenvpnConnection::setDevType
void setDevType(DevType value)
connectivityqt::OpenvpnConnection::setMssFix
void setMssFix(bool value)
connectivityqt::OpenvpnConnection::KeyDir
KeyDir
Definition openvpn-connection.h:96
connectivityqt::OpenvpnConnection::ZERO
@ ZERO
Definition openvpn-connection.h:98
connectivityqt::OpenvpnConnection::ONE
@ ONE
Definition openvpn-connection.h:99
connectivityqt::OpenvpnConnection::KEY_NONE
@ KEY_NONE
Definition openvpn-connection.h:97
connectivityqt::OpenvpnConnection::proxyServerChanged
void proxyServerChanged(const QString &value)
connectivityqt::OpenvpnConnection::staticKeyChanged
void staticKeyChanged(const QString &value)
connectivityqt::OpenvpnConnection::setUsername
void setUsername(const QString &value)
connectivityqt::OpenvpnConnection::taSet
bool taSet
Definition openvpn-connection.h:232
connectivityqt::OpenvpnConnection::setKey
void setKey(const QString &value)
connectivityqt::OpenvpnConnection::localIpChanged
void localIpChanged(const QString &value)
connectivityqt::OpenvpnConnection::proxyPassword
QString proxyPassword
Definition openvpn-connection.h:252
connectivityqt::OpenvpnConnection::setProxyRetry
void setProxyRetry(bool value)
connectivityqt::OpenvpnConnection::password
QString password
Definition openvpn-connection.h:136
connectivityqt::OpenvpnConnection::setPassword
void setPassword(const QString &value)
connectivityqt::OpenvpnConnection::keysizeSetChanged
void keysizeSetChanged(bool value)
connectivityqt::OpenvpnConnection::keysizeChanged
void keysizeChanged(int value)
connectivityqt::OpenvpnConnection::usernameChanged
void usernameChanged(const QString &value)
connectivityqt::OpenvpnConnection::compLzo
bool compLzo
Definition openvpn-connection.h:168
connectivityqt::OpenvpnConnection::renegSecondsSet
bool renegSecondsSet
Definition openvpn-connection.h:165
connectivityqt::OpenvpnConnection::taDir
KeyDir taDir
Definition openvpn-connection.h:229
connectivityqt::OpenvpnConnection::localIp
QString localIp
Definition openvpn-connection.h:133
connectivityqt::OpenvpnConnection::ta
QString ta
Definition openvpn-connection.h:226
connectivityqt::OpenvpnConnection::remoteCertTlsChanged
void remoteCertTlsChanged(TlsType value)
connectivityqt::OpenvpnConnection::setRemoteCertTlsSet
void setRemoteCertTlsSet(bool value)
connectivityqt::OpenvpnConnection::setPortSet
void setPortSet(bool value)
connectivityqt::OpenvpnConnection::setStaticKeyDirection
void setStaticKeyDirection(KeyDir value)
connectivityqt::OpenvpnConnection::proxyType
ProxyType proxyType
Definition openvpn-connection.h:237
connectivityqt::OpenvpnConnection::setKeysize
void setKeysize(int value)
connectivityqt::OpenvpnConnection::Cipher
Cipher
Definition openvpn-connection.h:52
connectivityqt::OpenvpnConnection::AES_128_CBC
@ AES_128_CBC
Definition openvpn-connection.h:61
connectivityqt::OpenvpnConnection::RC2_40_CBC
@ RC2_40_CBC
Definition openvpn-connection.h:59
connectivityqt::OpenvpnConnection::DES_EDE3_CBC
@ DES_EDE3_CBC
Definition openvpn-connection.h:57
connectivityqt::OpenvpnConnection::RC2_CBC
@ RC2_CBC
Definition openvpn-connection.h:55
connectivityqt::OpenvpnConnection::DESX_CBC
@ DESX_CBC
Definition openvpn-connection.h:58
connectivityqt::OpenvpnConnection::AES_128_CBC_HMAC_SHA1
@ AES_128_CBC_HMAC_SHA1
Definition openvpn-connection.h:68
connectivityqt::OpenvpnConnection::CAMELLIA_192_CBC
@ CAMELLIA_192_CBC
Definition openvpn-connection.h:65
connectivityqt::OpenvpnConnection::SEED_CBC
@ SEED_CBC
Definition openvpn-connection.h:67
connectivityqt::OpenvpnConnection::AES_256_CBC_HMAC_SHA1
@ AES_256_CBC_HMAC_SHA1
Definition openvpn-connection.h:69
connectivityqt::OpenvpnConnection::DES_CBC
@ DES_CBC
Definition openvpn-connection.h:54
connectivityqt::OpenvpnConnection::DEFAULT_CIPHER
@ DEFAULT_CIPHER
Definition openvpn-connection.h:53
connectivityqt::OpenvpnConnection::AES_256_CBC
@ AES_256_CBC
Definition openvpn-connection.h:63
connectivityqt::OpenvpnConnection::AES_192_CBC
@ AES_192_CBC
Definition openvpn-connection.h:62
connectivityqt::OpenvpnConnection::DES_EDE_CBC
@ DES_EDE_CBC
Definition openvpn-connection.h:56
connectivityqt::OpenvpnConnection::CAST5_CBC
@ CAST5_CBC
Definition openvpn-connection.h:60
connectivityqt::OpenvpnConnection::CAMELLIA_256_CBC
@ CAMELLIA_256_CBC
Definition openvpn-connection.h:66
connectivityqt::OpenvpnConnection::CAMELLIA_128_CBC
@ CAMELLIA_128_CBC
Definition openvpn-connection.h:64
connectivityqt::OpenvpnConnection::setProxyServer
void setProxyServer(const QString &value)
connectivityqt::OpenvpnConnection::taDirChanged
void taDirChanged(KeyDir value)
connectivityqt::OpenvpnConnection::setRemoteRandom
void setRemoteRandom(bool value)
connectivityqt::OpenvpnConnection::setProtoTcp
void setProtoTcp(bool value)
connectivityqt::OpenvpnConnection::authChanged
void authChanged(Auth value)
connectivityqt::OpenvpnConnection::ConnectionType
ConnectionType
Definition openvpn-connection.h:36
connectivityqt::OpenvpnConnection::TLS
@ TLS
Definition openvpn-connection.h:37
connectivityqt::OpenvpnConnection::PASSWORD_TLS
@ PASSWORD_TLS
Definition openvpn-connection.h:39
connectivityqt::OpenvpnConnection::STATIC_KEY
@ STATIC_KEY
Definition openvpn-connection.h:40
connectivityqt::OpenvpnConnection::PASSWORD
@ PASSWORD
Definition openvpn-connection.h:38
connectivityqt::OpenvpnConnection::setRenegSecondsSet
void setRenegSecondsSet(bool value)
connectivityqt::OpenvpnConnection::mssFixChanged
void mssFixChanged(bool value)
connectivityqt::OpenvpnConnection::taSetChanged
void taSetChanged(bool value)
connectivityqt::OpenvpnConnection::portChanged
void portChanged(int value)
connectivityqt::OpenvpnConnection::tlsRemote
QString tlsRemote
Definition openvpn-connection.h:217
connectivityqt::OpenvpnConnection::setProxyType
void setProxyType(ProxyType value)
connectivityqt::OpenvpnConnection::setCipher
void setCipher(Cipher value)
connectivityqt::OpenvpnConnection::cipher
Cipher cipher
Definition openvpn-connection.h:203
connectivityqt::OpenvpnConnection::fragmentSize
int fragmentSize
Definition openvpn-connection.h:189
connectivityqt::OpenvpnConnection::setProxyPort
void setProxyPort(int value)
connectivityqt::OpenvpnConnection::setLocalIp
void setLocalIp(const QString &value)
connectivityqt::OpenvpnConnection::setKeysizeSet
void setKeysizeSet(bool value)
connectivityqt::OpenvpnConnection::certChanged
void certChanged(const QString &value)
connectivityqt::OpenvpnConnection::devTypeSet
bool devTypeSet
Definition openvpn-connection.h:180
connectivityqt::OpenvpnConnection::proxyPortChanged
void proxyPortChanged(int value)
connectivityqt::OpenvpnConnection::proxyTypeChanged
void proxyTypeChanged(ProxyType value)
connectivityqt::OpenvpnConnection::tunnelMtuChanged
void tunnelMtuChanged(int value)
connectivityqt::OpenvpnConnection::username
QString username
Definition openvpn-connection.h:151
connectivityqt::OpenvpnConnection::setTaSet
void setTaSet(bool value)
connectivityqt::OpenvpnConnection::key
QString key
Definition openvpn-connection.h:130
connectivityqt::OpenvpnConnection::remoteRandom
bool remoteRandom
Definition openvpn-connection.h:198
connectivityqt::OpenvpnConnection::ca
QString ca
Definition openvpn-connection.h:118
connectivityqt::OpenvpnConnection::setRemoteCertTls
void setRemoteCertTls(TlsType value)
connectivityqt::OpenvpnConnection::OpenvpnConnection
OpenvpnConnection(const QDBusObjectPath &path, const QDBusConnection &connection)
Definition openvpn-connection.cpp:148
connectivityqt::OpenvpnConnection::compLzoChanged
void compLzoChanged(bool value)
connectivityqt::OpenvpnConnection::LOMIRI_DEFINES_PTRS
LOMIRI_DEFINES_PTRS(OpenvpnConnection)
connectivityqt::OpenvpnConnection::setStaticKey
void setStaticKey(const QString &value)
connectivityqt::OpenvpnConnection::renegSeconds
int renegSeconds
Definition openvpn-connection.h:162
connectivityqt::OpenvpnConnection::protoTcpChanged
void protoTcpChanged(bool value)
connectivityqt::OpenvpnConnection::setPort
void setPort(int value)
connectivityqt::OpenvpnConnection::devTypeChanged
void devTypeChanged(DevType value)
connectivityqt::VpnConnection::VpnConnection
VpnConnection(const QDBusObjectPath &path, const QDBusConnection &connection, QObject *parent=0)
Definition vpn-connection.cpp:70
connectivityqt
Definition connectivity.cpp:37
vpn-connection.h