Instance Property


A persistent keychain reference to a keychain item containing the IKE shared secret.


var sharedSecretReference: Data? { get set }


The persistent keychain reference must refer to a kerychain item of class kSecClassGenericPassword

See Also

Accessing IPSec Properties

var authenticationMethod: NEVPNIKEAuthenticationMethod

The method used to authenticate the device with the IPSec server. For IKE version 2, when using extended authentication, this authentication method only affects how the client validates the authentication payload presented by the server.

enum NEVPNIKEAuthenticationMethod

Internet Key Exchange (IKE) authentication methods used to authenticate with the IPSec server.

var useExtendedAuthentication: Bool

A flag indicating if extended authentication will be negotiated.

var localIdentifier: String?

A string identifying the iOS or macOS device for authentication purposes

var remoteIdentifier: String?

A string identifying the IPSec server for authentication purposes

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software