How to configure verifier identity and in-person signing
Configure relying party identity metadata, authorized purposes and elements, and in-person request signing on a MATTR VII verifier application, so wallets can authenticate your requests and show holders who is asking.
Verifier identity metadata, authorization and in-person request signing are currently offered as a closed preview and must be enabled on your tenant. To enable them, contact us. Interfaces and behavior may change before they become generally available.
This guide shows you how to configure verifier authentication on your MATTR VII tenant, also known as reader authentication in ISO/IEC 18013-5. When you finish, every request your verifier application signs carries your organization's identity and authorized scope, and apps built with the Verifier Mobile SDKs sign in-person requests as well as remote ones.
Set up verifier certificates
Every signer certificate MATTR VII issues chains to your tenant's active Verifier root CA. Choose how you want to manage it:
MATTR VII generates and holds the Verifier root CA key and issues signer certificates from it. If your tenant has no Verifier root CA when you create your first verifier application, MATTR VII creates a managed one for you. To create one yourself:
- Log into the MATTR Portal.
- In the navigation panel on the left-hand side, expand the Platform Management menu.
- Select Certificates.
- Select the Create new button.
- Use the Type radio button to select Verifier CA.
- Use the Management method radio button to select MATTR managed.
- Optionally enter a Common name, and select a Country.
- Select the Create button.
- Use the Status radio button to select Active, then select the Update button.
Configure identity metadata and authorization
Identity metadata and authorization are only available via the MATTR VII API for now. Support in the MATTR Portal is coming in a later release.
Identity metadata and authorization are fields on your
verifier application.
Add them when you create the application, or
update an existing one.
They are available on web, ios and android applications.
PUT /v2/presentations/applications/{verifierApplicationId}{
"name": "Harbor Street Bar door check",
"type": "ios",
"bundleId": "com.example.doorcheck",
"teamId": "A1B2C3D4E5",
"identityMetadata": {
"displayName": "Harbor Street Bar",
"logoUri": "https://cdn.example.com/harbor-street/logo.png",
"logoHash": "Ox8MnUem6FK9BBesk+5vGCBc17TpoD9mEtiEW6fAnjE=",
"privacyPolicyUrl": "https://example.com/privacy"
},
"authorizedPurposes": {
"org.iso.jtc1.sc17": { "purposeCodes": [3] }
},
"authorizedElements": {
"org.iso.18013.5.1.mDL": {
"org.iso.18013.5.1": {
"age_over_18": { "authorizedToRetain": false },
"portrait": { "authorizedToRetain": false }
}
}
}
}identityMetadata: How your organization appears to holders.displayName: Required. Your organization's name, as holders should see it.logoUri: Optional HTTPS URI of your logo, in PNG, JPEG or SVG format. MATTR VII checks that the URI is reachable when you save it, but does not download or store the image.logoHash: Optional base64-encoded SHA-256 digest of the logo file, so wallets can confirm they display the image you intended. Generate it with, for example,openssl dgst -sha256 -binary logo.png | base64, and update it whenever you replace the image.privacyPolicyUrl: Optional HTTPS URI of your privacy policy.
authorizedPurposes: Optional. The purposes you are authorized to claim, as purpose codes grouped by purpose controller. See authorized purposes.authorizedElements: Optional. The data elements you are authorized to request, and whether you may keep each one. See authorized elements.
Refer to the API reference for every field, its validation rules and the errors MATTR VII can return.
When you save a change to any of these fields, MATTR VII issues a new signer certificate for remote requests straight away. Devices running the Verifier Mobile SDK pick up the change the next time they renew their certificate, within 7 days.
Enable in-person request signing
In-person request signing is only available via the MATTR VII API for now. Support in the MATTR Portal is coming in a later release.
In-person request signing is another field on the same verifier application, set through the MATTR
VII API rather than in your app code. It applies to ios and android applications. Add
proximityPresentationReaderAuth to the create or update request from the previous step:
PUT /v2/presentations/applications/{verifierApplicationId}{
"proximityPresentationReaderAuth": {
"enabled": true,
"required": false
}
}enabled: Whentrue, every app instance of this verifier application obtains a device-bound signer certificate from your tenant and signs its in-person requests. Defaults tofalse.required: Whentrue, an app instance that holds no valid signer certificate, or cannot sign with it, returns an error instead of sending the request. Whenfalse, the app instance signs on a best-effort basis: it signs with an expired certificate rather than not at all, and sends the request unsigned only when it has no usable certificate. Defaults tofalse.
Choose required: true when the wallets you work with reject unsigned requests, or your trust
framework mandates verifier authentication. With required: false, a device that cannot renew its
certificate in time, for example because it has been offline, keeps completing verifications, but
wallets may show those requests to the holder as coming from an unverified verifier. Weigh which
outcome suits your deployment better.
Setting enabled to true requires an active Verifier root CA, and for an unmanaged (external)
root, an active verifier intermediate CA. If you create your first verifier application in a tenant
that has no Verifier root CA, MATTR VII creates a managed root in the same request, so this
requirement is met.
You do not need to release a new version of your app to turn signing on or off. The SDK on each
device reads this setting from your tenant and refreshes it periodically, by default within a day,
so a change on your tenant takes some time to reach your devices. Each device applies the setting
it last retrieved, and until it retrieves the setting for the first time it sends requests
unsigned, even when required is true. Before you put a new device into service, open your app
while the device is online and run one test verification, so the SDK can retrieve the setting and
a signer certificate first. See
in-person signing with the Verifier Mobile SDK
for how the SDK behaves with each combination of values.
Share your Verifier root CA certificate with wallets
Wallets can only authenticate your requests if they trust your Verifier root CA. Retrieve its
certificatePem with the
retrieve a Verifier root CA certificate
endpoint and share it with:
- Wallet providers you work with directly, who add it to their app's trust store. See how holders add trusted verifier certificates.
- Trust list operators in your ecosystem, for example a RICAL provider.
Share only the root certificate. Every signed request already includes the signer certificate, and the intermediate CA certificate when you use one, so wallets have everything else they need to validate the chain.
What happens next
Once you complete these steps:
- On your MATTR VII tenant, remote requests created for the verifier application are signed with a signer certificate that carries your identity metadata and authorization.
- On your verifier devices, the Verifier Mobile SDK obtains a device-bound signer certificate the next time it refreshes its configuration, then signs every in-person request. It renews the certificate before it expires, whenever the device is online. See renewal on each platform.
- In the holder's wallet, a wallet that trusts your Verifier root CA reports your requests as trusted, and can show your display name, logo and privacy policy at the consent screen. It can also compare the elements you request with your authorized elements, and warn the holder or decline the request when they do not match. See how holders handle verifier authentication.
- In a wallet that does not trust your root, requests are reported as untrusted, and the wallet decides whether to warn the holder or decline.
If something does not work as expected, see troubleshooting.
How would you rate this page?
Last updated on