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

# NEVPNIKEv2PPKConfiguration

A class that manages parameters of a post-quantum pre-shared key (PPK).

```
class NEVPNIKEv2PPKConfiguration
```

## Discussion

Instances of this class are thread safe.
The class conforms to RFC 8784.

## Topics

### Creating a PPK configuration

[`-  initWithIdentifier:keychainReference:`](/documentation/NetworkExtension/NEVPNIKEv2PPKConfiguration/init(identifier:keychainReference:))

Initializes a quantum-secure pre-shared key (PPK) configuration.

### Accessing the configuration parameters

[`identifier`](/documentation/NetworkExtension/NEVPNIKEv2PPKConfiguration/identifier)

The identifier for the PPK.

[`keychainReference`](/documentation/NetworkExtension/NEVPNIKEv2PPKConfiguration/keychainReference)

A persistent reference to the key in the keychain.

[`isMandatory`](/documentation/NetworkExtension/NEVPNIKEv2PPKConfiguration/isMandatory)

A Boolean value that indicates whether it’s mandatory for the VPN server to use this PPK.

## Relationships

### Conforms To

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

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

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

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

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

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

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

### 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)