|
lomiri-connectivity-api
|
#include <connectivityqt/openvpn-connection.h>
Classes | |
| class | Priv |
Public Types | |
| enum | ConnectionType { TLS , PASSWORD , PASSWORD_TLS , STATIC_KEY } |
| enum | DevType { TUN , TAP } |
| 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 } |
| enum | Auth { DEFAULT_AUTH , NONE , RSA_MD4 , MD5 , SHA1 , SHA224 , SHA256 , SHA384 , SHA512 , RIPEMD160 } |
| enum | TlsType { SERVER , CLIENT } |
| enum | KeyDir { KEY_NONE , ZERO , ONE } |
| enum | ProxyType { NOT_REQUIRED , HTTP , SOCKS } |
| Public Types inherited from connectivityqt::VpnConnection | |
| enum | Type { OPENVPN , PPTP } |
Public Slots | |
| 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) |
| 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) |
| void | setCipher (Cipher value) |
| void | setKeysize (int value) |
| void | setKeysizeSet (bool value) |
| void | setAuth (Auth value) |
| 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) |
| 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) |
| Public Slots inherited from connectivityqt::VpnConnection | |
| void | setId (const QString &id) const |
| void | setNeverDefault (bool neverDefault) const |
| void | setActive (bool active) const |
| void | updateSecrets () const |
Signals | |
| 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) |
| 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) |
| void | cipherChanged (Cipher value) |
| void | keysizeChanged (int value) |
| void | keysizeSetChanged (bool value) |
| void | authChanged (Auth value) |
| 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) |
| 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) |
| Signals inherited from connectivityqt::VpnConnection | |
| void | idChanged (const QString &id) |
| void | neverDefaultChanged (bool neverDefault) |
| void | activeChanged (bool active) |
| void | activatableChanged (bool active) |
| void | remove () const |
Public Member Functions | |
| LOMIRI_DEFINES_PTRS (OpenvpnConnection) | |
| OpenvpnConnection (const QDBusObjectPath &path, const QDBusConnection &connection) | |
| virtual | ~OpenvpnConnection () |
| Type | type () const override |
| QString | ca () const |
| QString | cert () const |
| QString | certPass () const |
| ConnectionType | connectionType () const |
| QString | key () const |
| QString | localIp () const |
| QString | password () const |
| QString | remote () const |
| QString | remoteIp () const |
| QString | staticKey () const |
| KeyDir | staticKeyDirection () const |
| QString | username () const |
| int | port () const |
| bool | portSet () const |
| int | renegSeconds () const |
| bool | renegSecondsSet () const |
| bool | compLzo () const |
| bool | protoTcp () const |
| QString | dev () const |
| DevType | devType () const |
| bool | devTypeSet () const |
| int | tunnelMtu () const |
| bool | tunnelMtuSet () const |
| int | fragmentSize () const |
| bool | fragmentSizeSet () const |
| bool | mssFix () const |
| bool | remoteRandom () const |
| Cipher | cipher () const |
| int | keysize () const |
| bool | keysizeSet () const |
| Auth | auth () const |
| QString | tlsRemote () const |
| TlsType | remoteCertTls () const |
| bool | remoteCertTlsSet () const |
| QString | ta () const |
| KeyDir | taDir () const |
| bool | taSet () const |
| ProxyType | proxyType () const |
| QString | proxyServer () const |
| int | proxyPort () const |
| bool | proxyRetry () const |
| QString | proxyUsername () const |
| QString | proxyPassword () const |
| Public Member Functions inherited from connectivityqt::VpnConnection | |
| LOMIRI_DEFINES_PTRS (VpnConnection) | |
| VpnConnection (const QDBusObjectPath &path, const QDBusConnection &connection, QObject *parent=0) | |
| virtual | ~VpnConnection () |
| QDBusObjectPath | path () const |
| QString | id () const |
| bool | neverDefault () const |
| bool | active () const |
| bool | activatable () const |
Protected Attributes | |
| std::shared_ptr< Priv > | d |
| Protected Attributes inherited from connectivityqt::VpnConnection | |
| std::shared_ptr< Priv > | d |
Properties | |
| QString | ca |
| QString | cert |
| QString | certPass |
| ConnectionType | connectionType |
| QString | key |
| QString | localIp |
| QString | password |
| QString | remote |
| QString | remoteIp |
| QString | staticKey |
| KeyDir | staticKeyDirection |
| QString | username |
| int | port |
| bool | portSet |
| int | renegSeconds |
| bool | renegSecondsSet |
| bool | compLzo |
| bool | protoTcp |
| QString | dev |
| DevType | devType |
| bool | devTypeSet |
| int | tunnelMtu |
| bool | tunnelMtuSet |
| int | fragmentSize |
| bool | fragmentSizeSet |
| bool | mssFix |
| bool | remoteRandom |
| Cipher | cipher |
| int | keysize |
| bool | keysizeSet |
| Auth | auth |
| QString | tlsRemote |
| TlsType | remoteCertTls |
| bool | remoteCertTlsSet |
| QString | ta |
| KeyDir | taDir |
| bool | taSet |
| ProxyType | proxyType |
| QString | proxyServer |
| int | proxyPort |
| bool | proxyRetry |
| QString | proxyUsername |
| QString | proxyPassword |
| Properties inherited from connectivityqt::VpnConnection | |
| QDBusObjectPath | path |
| QString | id |
| bool | neverDefault |
| bool | active |
| bool | activatable |
| Type | type |
| connectivityqt::OpenvpnConnection::OpenvpnConnection | ( | const QDBusObjectPath & | path, |
| const QDBusConnection & | connection ) |
|
virtual |
| Auth connectivityqt::OpenvpnConnection::auth | ( | ) | const |
|
signal |
| QString connectivityqt::OpenvpnConnection::ca | ( | ) | const |
|
signal |
| QString connectivityqt::OpenvpnConnection::cert | ( | ) | const |
|
signal |
| QString connectivityqt::OpenvpnConnection::certPass | ( | ) | const |
|
signal |
| Cipher connectivityqt::OpenvpnConnection::cipher | ( | ) | const |
|
signal |
| bool connectivityqt::OpenvpnConnection::compLzo | ( | ) | const |
|
signal |
| ConnectionType connectivityqt::OpenvpnConnection::connectionType | ( | ) | const |
|
signal |
| QString connectivityqt::OpenvpnConnection::dev | ( | ) | const |
|
signal |
| DevType connectivityqt::OpenvpnConnection::devType | ( | ) | const |
|
signal |
| bool connectivityqt::OpenvpnConnection::devTypeSet | ( | ) | const |
|
signal |
| int connectivityqt::OpenvpnConnection::fragmentSize | ( | ) | const |
|
signal |
| bool connectivityqt::OpenvpnConnection::fragmentSizeSet | ( | ) | const |
|
signal |
| QString connectivityqt::OpenvpnConnection::key | ( | ) | const |
|
signal |
| int connectivityqt::OpenvpnConnection::keysize | ( | ) | const |
|
signal |
| bool connectivityqt::OpenvpnConnection::keysizeSet | ( | ) | const |
|
signal |
| QString connectivityqt::OpenvpnConnection::localIp | ( | ) | const |
|
signal |
| connectivityqt::OpenvpnConnection::LOMIRI_DEFINES_PTRS | ( | OpenvpnConnection | ) |
| bool connectivityqt::OpenvpnConnection::mssFix | ( | ) | const |
|
signal |
| QString connectivityqt::OpenvpnConnection::password | ( | ) | const |
|
signal |
| int connectivityqt::OpenvpnConnection::port | ( | ) | const |
|
signal |
| bool connectivityqt::OpenvpnConnection::portSet | ( | ) | const |
|
signal |
| bool connectivityqt::OpenvpnConnection::protoTcp | ( | ) | const |
|
signal |
| QString connectivityqt::OpenvpnConnection::proxyPassword | ( | ) | const |
|
signal |
| int connectivityqt::OpenvpnConnection::proxyPort | ( | ) | const |
|
signal |
| bool connectivityqt::OpenvpnConnection::proxyRetry | ( | ) | const |
|
signal |
| QString connectivityqt::OpenvpnConnection::proxyServer | ( | ) | const |
|
signal |
| ProxyType connectivityqt::OpenvpnConnection::proxyType | ( | ) | const |
|
signal |
| QString connectivityqt::OpenvpnConnection::proxyUsername | ( | ) | const |
|
signal |
| QString connectivityqt::OpenvpnConnection::remote | ( | ) | const |
| TlsType connectivityqt::OpenvpnConnection::remoteCertTls | ( | ) | const |
|
signal |
| bool connectivityqt::OpenvpnConnection::remoteCertTlsSet | ( | ) | const |
|
signal |
|
signal |
| QString connectivityqt::OpenvpnConnection::remoteIp | ( | ) | const |
|
signal |
| bool connectivityqt::OpenvpnConnection::remoteRandom | ( | ) | const |
|
signal |
| int connectivityqt::OpenvpnConnection::renegSeconds | ( | ) | const |
|
signal |
| bool connectivityqt::OpenvpnConnection::renegSecondsSet | ( | ) | const |
|
signal |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
|
slot |
| QString connectivityqt::OpenvpnConnection::staticKey | ( | ) | const |
|
signal |
| KeyDir connectivityqt::OpenvpnConnection::staticKeyDirection | ( | ) | const |
|
signal |
| QString connectivityqt::OpenvpnConnection::ta | ( | ) | const |
|
signal |
| KeyDir connectivityqt::OpenvpnConnection::taDir | ( | ) | const |
|
signal |
| bool connectivityqt::OpenvpnConnection::taSet | ( | ) | const |
|
signal |
| QString connectivityqt::OpenvpnConnection::tlsRemote | ( | ) | const |
|
signal |
| int connectivityqt::OpenvpnConnection::tunnelMtu | ( | ) | const |
|
signal |
| bool connectivityqt::OpenvpnConnection::tunnelMtuSet | ( | ) | const |
|
signal |
|
overridevirtual |
Implements connectivityqt::VpnConnection.
| QString connectivityqt::OpenvpnConnection::username | ( | ) | const |
|
signal |
|
protected |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |
|
readwrite |