Class

NEVPNProtocol

Settings common to both IKEv2 and IPsec VPN configurations.

Declaration

@interface NEVPNProtocol : NSObject

Overview

The NEVPNProtocol class is an abstract base class, with one subclass for each type of supported tunneling protocol.

Instances of this class are thread safe.

Topics

Accessing Common Tunnel Properties

serverAddress

The address of the tunneling server

username

The username component of the tunneling protocol authentication credential.

passwordReference

A persistent keychain reference to a keychain item containing the password component of the tunneling protocol authentication credential.

identityReference

A persistent keychain reference to a keychain item containing the certificate and private key components of the tunneling protocol authentication credential.

identityData

The certificate and private key components of the tunneling protocol authentication credential, encoded in PKCS12 format.

identityDataPassword

The password to be used to decrypt the PKCS12 data set in the identityData property.

disconnectOnSleep

A flag indicating if the VPN should be disconnected when the device sleeps.

proxySettings

An NEProxySettings object containing the proxy settings to be used for HTTP and HTTPS connections which are routed through the VPN.

Relationships

Inherits From

See Also

VPN Configuration

NEVPNManager

An object to create and manage a Personal VPN configuration.

NEVPNProtocolIKEv2

Settings for an IKEv2 VPN configuration.

NEVPNProtocolIPSec

Settings for an IPsec VPN configuration.