SecureElementCredential
Allow access to credentials inside the Secure Element on device.
Mentioned in
Overview
The SecureElementCredential framework allows your app to manage and use Secure Element credentials with contactless transaction capabilities. See NFC & SE Platform for secure contactless transactions for information about requirements, availability, and requesting acccess to the platform.
Using this framework depends on having registered an applet bundle with the Apple Business Register (ABR). The applet contains the cryptographic code required to complete a transaction. You use this framework to provision your applet and its credentials, which downloads a bundle from the ABR and installs it into the Secure Element. Provisioning returns an instance of CredentialSession.Credential, which you use with your calls to the framework.
The CredentialSession class serves as the entry point to the framework. This class provides three major functions:
- Management
Allows your app to create, read, update, and delete credentials in the Secure Element.
- Wired actions
Allows your app to exchange data, given a credential, with an applet that corresponds to the credential.
- Card emulation
Allows the credential to communicate with a contactless reader.
The framework also provides SwiftUI and UIKit extensions that perform wired actions and card emulation while providing an appropriate user interface.
SecureElementCredential supports transactions for in-store payments, car keys, closed-loop transit, corporate badges, student IDs, home keys, hotel keys, merchant loyalty and rewards cards, and event tickets.
Topics
Essentials
Entitlements
com.apple.developer.secure-element-credentialcom.apple.developer.secure-element-credential.default-contactless-app