java.lang.Object | |
↳ | com.htc.app.admin.VpnConfigInfo |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | TYPE_IPSEC_HYBRID_RSA | To sepecify the VPN configuration type as Hybrid IPSec with RSA encryption. | |||||||||
int | TYPE_IPSEC_XAUTH_PSK | To sepecify the VPN configuration type as Xauthority IPSec with PSK encryption. | |||||||||
int | TYPE_IPSEC_XAUTH_RSA | To sepecify the VPN configuration type as Xauthority IPSec with RSA encryption. | |||||||||
int | TYPE_L2TP_IPSEC_PSK | To sepecify the VPN configuration type as L2TP IPSec with PSK encryption. | |||||||||
int | TYPE_L2TP_IPSEC_RSA | To sepecify the VPN configuration type as L2TP IPSec with RSA encryption. | |||||||||
int | TYPE_MAX | The maximun number of supported types. | |||||||||
int | TYPE_PPTP | To sepecify the VPN configuration type as PPTP. |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
CREATOR |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Get VPN config ID.
| |||||||||||
Get DNS servers.
| |||||||||||
Get IPSec CA certification.
| |||||||||||
Get IPSec identifier.
| |||||||||||
Get IPSec user certification.
| |||||||||||
Get L2TP Secret.
| |||||||||||
Return true if the PPP encryption enabled; return false if disabled.
| |||||||||||
Get user's password.
| |||||||||||
Get the address of routes.
| |||||||||||
Get search domains.
| |||||||||||
Get the server address.
| |||||||||||
Get the user name.
| |||||||||||
Get the name of VPN.
| |||||||||||
Get the type of VPN.
| |||||||||||
Get IPSec pre-shared Key.
| |||||||||||
Set VPN config ID.
| |||||||||||
Set DNS servers.
| |||||||||||
Set IPSec pre-shared Key.
| |||||||||||
set exta option for IPSec Hybrid RSA VPN type
| |||||||||||
set exta option for IPSec Xauth PSK VPN type
| |||||||||||
set exta option for IPSec Xauth RSK VPN type
| |||||||||||
Set IPSec CA certification.
| |||||||||||
Set IPSec identifier.
| |||||||||||
Set IPSec user certification.
| |||||||||||
set exta option for L2TP/IPSec PSK VPN type
| |||||||||||
set exta option for L2TP/IPSec RSK VPN type
| |||||||||||
Set L2TP Secret.
| |||||||||||
Enable or disable PPP encryption.
| |||||||||||
set exta option for PPTP VPN type
| |||||||||||
Set user's password.
| |||||||||||
Set the address of routes.
| |||||||||||
Set search domains.
| |||||||||||
Set the server address.
| |||||||||||
Set the user name.
| |||||||||||
Set the name of VPN.
| |||||||||||
set VPN option
| |||||||||||
Set the type of VPN.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
To sepecify the VPN configuration type as Hybrid IPSec with RSA encryption.
To sepecify the VPN configuration type as Xauthority IPSec with PSK encryption.
To sepecify the VPN configuration type as Xauthority IPSec with RSA encryption.
To sepecify the VPN configuration type as L2TP IPSec with PSK encryption.
To sepecify the VPN configuration type as L2TP IPSec with RSA encryption.
The maximun number of supported types.
To sepecify the VPN configuration type as PPTP.
Get DNS servers.
Get IPSec CA certification.
Get IPSec identifier.
Get IPSec user certification.
Return true if the PPP encryption enabled; return false if disabled.
Get user's password.
Get the address of routes.
Get search domains.
Get the server address.
Get the name of VPN.
Get IPSec pre-shared Key.
Set VPN config ID.
configId | The VPN config ID. |
---|
Set DNS servers.
dnsServers | The DNS servers address. |
---|
Set IPSec pre-shared Key.
ipsecSecret | Set IPSec pre-shared key. |
---|
set exta option for IPSec Hybrid RSA VPN type
vpnName | vpn name |
---|---|
serverAddress | vpn server address |
ipsecCaCert | IPSec CA certificate |
set exta option for IPSec Xauth PSK VPN type
vpnName | vpn name |
---|---|
serverAddress | vpn server address |
ipsecIdentifier | IPSec identifier |
IPSecPreSharedKey | IPSec pre-shared key |
set exta option for IPSec Xauth RSK VPN type
vpnName | vpn name |
---|---|
serverAddress | vpn server address |
ipsecUserCert | IPSec user certificate |
ipsecCaCert | IPSec CA certificate |
Set IPSec CA certification.
ipsecCaCert | IPSec CA certification. |
---|
Set IPSec identifier.
ipsecIdentifier | IPSec identifier. |
---|
Set IPSec user certification.
ipsecUserCert | IPSec user certification. |
---|
set exta option for L2TP/IPSec PSK VPN type
vpnName | vpn name |
---|---|
serverAddress | vpn server address |
l2tpSecret | L2TP secret |
ipsecIdentifier | IPSec identifier |
IPSecPreSharedKey | IPSec pre-shared key |
set exta option for L2TP/IPSec RSK VPN type
vpnName | vpn name |
---|---|
serverAddress | vpn server address |
l2tpSecret | L2TP secret |
ipsecUserCert | IPSec user certificate |
ipsecCaCert | IPSec CA certificate |
Set L2TP Secret.
l2tpSecret | L2TP secret. |
---|
Enable or disable PPP encryption.
useMPPE | True to use PPP encryption; False to disable. |
---|
set exta option for PPTP VPN type
vpnName | vpn name |
---|---|
serverAddress | vpn server address |
usePPPencryption | use ppp encryption(MPPE) |
Set user's password.
password | The user's password. |
---|
Set the address of routes.
routes | The address of routes. |
---|
Set search domains.
searchDomains | The domains for searching. |
---|
Set the server address.
serverAddress | The server address. |
---|
Set the user name.
userName | The user name. |
---|
Set the name of VPN.
vpnName | The name of VPN config. |
---|
set VPN option
searchDomains | search domains |
---|---|
dnsServers | DNS server |
fowardRoutes | fowarding Routes |
Set the type of VPN.
vpnType | The type of VPN config. |
---|