<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PassKit",
  "identifier" : "/documentation/PassKit/JPKIPassContents",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "PassKit (Apple Pay and Wallet)"
    ],
    "preciseIdentifier" : "s:7PassKit16JPKIPassContentsV"
  },
  "title" : "JPKIPassContents"
}
-->

# JPKIPassContents

A set of actions for viewing and updating PINs, passwords, and signing abilities associated with digital identities on the JPKI applet.

```
struct JPKIPassContents
```

## Overview

Supports access to installed digital identities associated with the pass. You can use these actions to perform all operations to view, modify, and act on the credientials the applet contains.

## Topics

### Initializing the digital identity

[`init(PKPass) async throws`](/documentation/PassKit/JPKIPassContents/init(_:))

Initializes with the digital identity state of the provided pass.

### Defining access to the identity passes

[`struct UserIdentity`](/documentation/PassKit/JPKIPassContents/UserIdentity-swift.struct)

The functionality for the type of user identification.

[`struct SigningIdentity`](/documentation/PassKit/JPKIPassContents/SigningIdentity-swift.struct)

The authentication for signing user identification.

[`struct Signature`](/documentation/PassKit/JPKIPassContents/Signature)

The resulting signed data and certificate you use to sign the pass.

[`struct Certificate`](/documentation/PassKit/JPKIPassContents/Certificate)

The certificate data associated with an identity document.

[`struct AuthenticationRequest`](/documentation/PassKit/JPKIPassContents/AuthenticationRequest)

The user authentification request based on the generics type.

[`protocol Identity`](/documentation/PassKit/JPKIPassContents/Identity)

Defines the common functionality that JPKI digital identities support.

### Error cases

[`enum Error`](/documentation/PassKit/JPKIPassContents/Error)

Defines a set of possible errors.

### Instance Properties

[`let signingIdentity: JPKIPassContents.SigningIdentity?`](/documentation/PassKit/JPKIPassContents/signingIdentity-swift.property)

Allows access to the signing identity, if present in the JPKI applet.

[`let userIdentity: JPKIPassContents.UserIdentity?`](/documentation/PassKit/JPKIPassContents/userIdentity-swift.property)

Allows for access to the user identity, if present in the JPKI applet.

---

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)