<!--
{
  "availability" : [
    "iOS: 13.4.0 -",
    "iPadOS: 13.4.0 -",
    "macCatalyst: 13.4.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PassKit",
  "identifier" : "/documentation/PassKit/PKAddSecureElementPassViewController/canAddSecureElementPass(configuration:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "PassKit (Apple Pay and Wallet)"
    ],
    "preciseIdentifier" : "c:objc(cs)PKAddSecureElementPassViewController(cm)canAddSecureElementPassWithConfiguration:"
  },
  "title" : "canAddSecureElementPass(configuration:)"
}
-->

# canAddSecureElementPass(configuration:)

Returns a Boolean value that indicates whether PassKit can create a Secure Element pass using the specified configuration.

```
class func canAddSecureElementPass(configuration: PKAddSecureElementPassConfiguration) -> Bool
```

## Parameters

`configuration`

The configuration to validate.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if PassKit validates the configuration; otherwise, <doc://com.apple.documentation/documentation/Swift/false>.

---

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)