Settings for an IKEv2 VPN configuration.
SDKs
- iOS 8.0+
- macOS 10.11+
- Mac Catalyst 13.0+
Framework
- Network
Extension
Declaration
@interface NEVPNProtocolIKEv2 : NEVPNProtocol IPSec
Overview
Instances of this class are thread safe.
Settings for an IKEv2 VPN configuration.
SDKs
Framework
@interface NEVPNProtocolIKEv2 : NEVPNProtocol IPSec
Instances of this class are thread safe.
IKESecurity Association Parameters
An NEVPNIKEv2Security
object containing the parameters for the initial IKE security association to be negotiated with the IKEv2 server.
child Security Association Parameters
An NEVPNIKEv2Security
object containing the parameters for the child IPSec security associations to be negotiated for each IKEv2 policy.
NEVPNIKEv2Security Association Parameters
NEVPNIKEv2Security
contains parameters for an IKEv2 Security Association.
dead Peer Detection Rate
The frequency at which the IKEv2 client will run the dead peer detection algorithm.
server Certificate Issuer Common Name
A string containing the value of the Subject Common Name field of the Certificate Authority certificate that issued the IKEv2 server's certificate.
server Certificate Common Name
A string containing the value of the Subject Common Name field of the IKEv2 server’s certificate.
certificate Type
The type of the certificate in the identity configured in identity
or identity
.
use Configuration Attribute Internal IPSubnet
A Boolean indicating whether or not the IKEv2 client should use the INTERNAL_IP4_SUBNET and/or INTERNAL_IP6_SUBNET attributes sent by the IKEv2 server. If this property is NO
, split tunnel configurations may still be communicated via Traffic Selectors during IKE negotiation.
disable MOBIKE
A Boolean indicating whether or not MOBIKE should be disabled for the IKEv2 sessions.
disable Redirect
A Boolean indicating whether or not IKEv2 server redirects are disabled.
enable PFS
A Boolean indicating whether or not Perfect Forward Secrecy is enabled.
enable Revocation Check
Enable revocation checking of the IKEv2 server certificate.
strict Revocation Check
Require a "not revoked" result when checking if the certificate identifying the server is revoked.
NEVPNManager
An object to create and manage a Personal VPN configuration.
NEVPNProtocol IPSec
Settings for an IPsec VPN configuration.
NEVPNProtocol
Settings common to both IKEv2 and IPsec VPN configurations.
Set up VPN On Demand.