PKIdentityNationalIDCardDescriptor
An object for requesting information from a user’s national ID card.
Declaration
class PKIdentityNationalIDCardDescriptorMentioned in
Discussion
For the elements you request, the response contains the corresponding elements present in the user’s identity document. The table below maps the elements you request using PKIdentityElement with the ISO and JP namespace in the response.
Identity element | ISO namespace | JP namespace |
|---|---|---|
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
|
|
|
|
|
This API requires a special entitlement issued by Apple. After you receive the entitlement, configure your Xcode project to use it:
Add the entitlement to the property list specified in your target.
In the
entitlements.plistfor the entitlement, add a new document-types item.Add a new element string.
Building an app with this entitlement requires macOS 13 or later. For more information about the entitlement, see Getting started with the Verify with Wallet API.
Topics
Setting region information
See Also
Identity passes and authorization
Requesting identity data from a Wallet passConfiguring your environment for the Verify with Wallet APIVerifying Wallet identity requestsPKIdentityPhotoIDDescriptorPKIdentityAnyOfDescriptorPKIdentityDriversLicenseDescriptorPKAddIdentityDocumentMetadataPKAddIdentityDocumentConfigurationPKAddIdentityDocumentTypeJPKIPassContentsPKAddIdentityDocumentConfigurationPKAddPassMetadataPreviewPKIdentityDocumentMetadataPKJapanIndividualNumberCardMetadata