# Print output for @column tags ?>
public
abstract
class
PlatformVpnProfile
extends Object
java.lang.Object | |
↳ | android.net.PlatformVpnProfile |
PlatformVpnProfile represents a configuration for a platform-based VPN implementation.
Platform-based VPNs allow VPN applications to provide configuration and authentication options
to leverage the Android OS' implementations of well-defined control plane (authentication, key
negotiation) and data plane (per-packet encryption) protocols to simplify the creation of VPN
tunnels. In contrast, VpnService
based VPNs must implement both the control and data
planes on a per-app basis.
See also:
Constants | |
---|---|
int |
TYPE_IKEV2_IPSEC_PSK
|
int |
TYPE_IKEV2_IPSEC_RSA
|
int |
TYPE_IKEV2_IPSEC_USER_PASS
|
Public methods | |
---|---|
final
int
|
getType()
Returns the profile integer type. |
final
String
|
getTypeString()
Returns a type string describing the VPN profile type |
Inherited methods | |
---|---|
public static final int TYPE_IKEV2_IPSEC_PSK
Constant Value: 7 (0x00000007)
public static final int TYPE_IKEV2_IPSEC_RSA
Constant Value: 8 (0x00000008)
public static final int TYPE_IKEV2_IPSEC_USER_PASS
Constant Value: 6 (0x00000006)
public final int getType ()
Returns the profile integer type.
Returns | |
---|---|
int |
Value is TYPE_IKEV2_IPSEC_USER_PASS , TYPE_IKEV2_IPSEC_PSK , or TYPE_IKEV2_IPSEC_RSA |