<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "NetworkExtension",
  "identifier" : "/documentation/NetworkExtension/NEVPNIKEv2SecurityAssociationParameters",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Network Extension"
    ],
    "preciseIdentifier" : "c:objc(cs)NEVPNIKEv2SecurityAssociationParameters"
  },
  "title" : "NEVPNIKEv2SecurityAssociationParameters"
}
-->

# NEVPNIKEv2SecurityAssociationParameters

Parameters for an IKEv2 Security Association.

```
class NEVPNIKEv2SecurityAssociationParameters
```

## Topics

### IKEv2 Security Association parameters

[`encryptionAlgorithm`](/documentation/NetworkExtension/NEVPNIKEv2SecurityAssociationParameters/encryptionAlgorithm)

The algorithm used by the Security Association to encrypt and decrypt data.

[`NEVPNIKEv2EncryptionAlgorithm`](/documentation/NetworkExtension/NEVPNIKEv2EncryptionAlgorithm)

An enumeration of encryption algorithm values.

[`integrityAlgorithm`](/documentation/NetworkExtension/NEVPNIKEv2SecurityAssociationParameters/integrityAlgorithm)

The algorithm used by the Security Association to verify the integrity of data.

[`NEVPNIKEv2IntegrityAlgorithm`](/documentation/NetworkExtension/NEVPNIKEv2IntegrityAlgorithm)

[`diffieHellmanGroup`](/documentation/NetworkExtension/NEVPNIKEv2SecurityAssociationParameters/diffieHellmanGroup)

The Diffie Hellman group used by the Security Association.

[`NEVPNIKEv2DiffieHellmanGroup`](/documentation/NetworkExtension/NEVPNIKEv2DiffieHellmanGroup)

An enumeration of Diffie-Hellman group values.

[`lifetimeMinutes`](/documentation/NetworkExtension/NEVPNIKEv2SecurityAssociationParameters/lifetimeMinutes)

The duration of the lifetime of the Security Association, in minutes.

[`postQuantumKeyExchangeMethods`](/documentation/NetworkExtension/NEVPNIKEv2SecurityAssociationParameters/postQuantumKeyExchangeMethods-56672)

A list of the quantum-secure key exchange methods the Security Association uses.

[`postQuantumKeyExchangeMethods`](/documentation/NetworkExtension/NEVPNIKEv2SecurityAssociationParameters/postQuantumKeyExchangeMethods-3173s)

A list of the quantum-secure key exchange methods the Security Association uses.

[`NEVPNIKEv2PostQuantumKeyExchangeMethod`](/documentation/NetworkExtension/NEVPNIKEv2PostQuantumKeyExchangeMethod)

Quantum-secure key exchange methods you use with IKEv2 servers.

## Relationships

### Conforms To

[`NSCoding`](/documentation/Foundation/NSCoding)

[`CVarArg`](/documentation/Swift/CVarArg)

[`NSCopying`](/documentation/Foundation/NSCopying)

[`Equatable`](/documentation/Swift/Equatable)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`Hashable`](/documentation/Swift/Hashable)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)