Instance Property

identityReference

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

Declaration

@property(copy) NSData *identityReference;

Discussion

The keychain item must have the kSecClassIdentity class. In macOS, this property is ignored for NEVPNProtocolIPSec objects. On iOS, this property is ignored for NEVPNProtocolIPSec and NEVPNProtocolIKEv2 objects. In cases where this property is ignored, the identity should be set using the identityData property.

See Also

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.

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.