<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "macOS: -",
    "visionOS: -",
    "watchOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "PassKit",
  "identifier" : "/documentation/PassKit/PKEncryptionScheme",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "PassKit (Apple Pay and Wallet)"
    ],
    "preciseIdentifier" : "c:@T@PKEncryptionScheme"
  },
  "title" : "PKEncryptionScheme"
}
-->

# PKEncryptionScheme

Encryption schemes.

```
struct PKEncryptionScheme
```

## Topics

### Creating an encryption scheme

[`init(rawValue:)`](/documentation/PassKit/PKEncryptionScheme/init(rawValue:))

Initialize an encryption scheme using a string.

### Encryption schemes

[`ECC_V2`](/documentation/PassKit/PKEncryptionScheme/ECC_V2)

The elliptic curve cryptography (ECC) scheme.

[`RSA_V2`](/documentation/PassKit/PKEncryptionScheme/RSA_V2)

The RSA v2 scheme.



---

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)