Overview
Learn how verifier authentication lets MATTR VII verifiers sign in-person and remote mDoc requests with certificates that carry their organization name, logo, privacy policy and authorized scope, so holders can see who is asking before they share data.
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.
What is verifier authentication?
Before a holder shares data from an mDoc, such as a mobile driver's license, they need to know who is asking. Verifier authentication answers that question with cryptography. The verifier signs each presentation request with a private key and attaches a certificate chain that links the key to a root certificate the holder's wallet already trusts.
Reader or verifier?
ISO/IEC 18013-5 calls the party that requests data an mdoc reader, and the mechanism mdoc
reader authentication (clause 12.5). MATTR uses verifier for the same role, because it
matches the verification capability you build with MATTR VII and the Verifier SDKs, and the
organization your holders see. On MATTR Learn, verifier authentication and reader authentication
mean the same thing. Names defined by the standards, such as ReaderAuth or the mdlReaderAuth
key usage, keep their original form.
MATTR supports verifier authentication for both remote and in-person presentation, and extends it in three ways:
- In-person requests are signed. Apps built with the Verifier Mobile SDKs sign in-person requests with a short-lived certificate bound to the device, so a wallet can authenticate the verifier at a counter, a gate or the roadside, even when the verifier device is offline.
- The certificate says who the verifier is. Each signer certificate can carry the relying party's display name, logo and privacy policy, so the wallet can show the holder a recognizable organization instead of a domain name or an anonymous request.
- The certificate says what the verifier is authorized to ask for. Each signer certificate can carry the purposes the relying party is authorized to claim, and the data elements it is authorized to request and retain.
Think of a venue that checks age at the door. Without verifier authentication, the patron's wallet
sees an anonymous request for age_over_18 and a photo. With verifier authentication, the wallet
shows "Harbor Street Bar" with its logo and a link to its privacy policy, confirms the request is
signed by a verifier its trust list recognizes, and can check that the bar is authorized to request
age_over_18 but not to keep it.
Why it matters
- Holders make informed decisions. A recognizable name and logo, backed by a certificate the wallet trusts, replaces an opaque identifier at the moment of consent.
- Wallets can apply policy. Wallet providers can accept, warn about or decline requests based on whether the verifier is trusted and whether the request stays within the verifier's authorized scope. See how holders handle verifier authentication.
- Trust networks get consistent identity. Operators of trust networks and Digital Trust Services can rely on one standard place for relying party identity and authorization data, which every signed request carries by value. See the RICAL overview for how a trust list operator publishes verifier root certificates.
- No lookup at request time. The metadata travels inside the certificate, so the wallet does not need a separate registry call to identify the verifier.
Common use cases include:
- Age checks at venues, retail and events.
- Roadside or counter checks by government agencies.
- Remote identity verification on a website or in a mobile app.
- Relying parties that send credential requests through an identity verification vendor, where the holder needs to see the relying party's own name.
- Trust networks that onboard relying parties and want each request tied to an approved use case.
Chain of trust
Verifier authentication relies on a chain of trust: a hierarchy of certificates that links each signed request back to a root certificate the holder's wallet trusts.
How the chain is built depends on how you manage your verifier certificates:
- Managed. MATTR VII generates and holds the Verifier root CA key, and the root signs each Verification Request Signer Certificate (VRSC) directly (a 2-tier chain), as the diagram shows.
- Unmanaged (external). Your certificate authority holds the Verifier root CA key and signs a verifier intermediate CA once. MATTR VII generates and holds the intermediate CA's key and uses it to issue VRSCs on demand (a 3-tier chain). An unmanaged Verifier root CA signs verification requests only through an active verifier intermediate CA.
In both cases, MATTR VII issues and rotates the signer certificates for you, and signed requests include the signer certificate followed by any intermediate CA certificate, but not the root. The holder's wallet must already hold the root certificate in its trust store.
See how to set up verifier certificates and the certificate requirements.
Signer certificates
MATTR VII issues signer certificates per verifier application. A verifier application represents one relying party, so a tenant that operates several relying parties uses one verifier application for each. There are two kinds of signer certificate:
| Certificate | Used for | Key held by | Validity | Revocation |
|---|---|---|---|---|
| Online signer certificate (VRSC) | Signed OpenID4VP requests created by MATTR VII for remote verification | MATTR VII | 182 days, rotated automatically | Listed on the issuing CA's certificate revocation list |
| Device-bound signer certificate | ReaderAuth on in-person requests sent by the Verifier Mobile SDK | The verifier device | 7 days, renewed automatically by the SDK | Not revocable. Expiry is the only control |
The device-bound signer certificate follows the mdoc reader authentication certificate profile in
ISO/IEC 18013-5:2021 clause B.1.5 (Table B.6), including the mdocReaderAuth usage added in the
draft second edition (ISO/IEC DIS 18013-5). It has these characteristics:
- Key usage is
digitalSignatureonly. - Extended key usage includes
1.0.18013.5.1.6(mdlReaderAuth) and1.0.23220.4.1.6(mdocReaderAuth). - The subject common name has the form
<tenant domain> Instance Signer <timestamp>. - It carries no subject alternative name and no CRL distribution point. Table B.6 lists the CRL distribution point as mandatory, so this is a deliberate departure: the short validity period is the containment control instead of revocation.
The device generates its own P-256 key pair and the private key never leaves the device. A key is certified only once per app instance, so each certificate uses a fresh key. This avoids the certificate becoming a long-lived identifier for the device, in line with the reader key rotation guidance in the draft second edition of ISO/IEC 18013-5 (ISO/IEC DIS 18013-5, clause E.17).
Identity metadata
Identity metadata describes the relying party as the holder should see it:
| Field | Required | Description |
|---|---|---|
displayName | Yes | The relying party's organization name as shown to end users. |
logoUri | No | An HTTPS URI of the relying party's logo. |
logoHash | No | The base64-encoded SHA-256 digest of the logo file, so a wallet can confirm the image it downloads is the one you configured. |
privacyPolicyUrl | No | An HTTPS URI of the relying party's privacy policy. |
The certificate carries the logo by reference. The wallet downloads it when it displays the
request, which means a wallet without network access at that moment may show the name without the
logo. When logoHash is present, a wallet that checks it will not render a logo whose content does
not match.
Identity metadata is carried in the non-critical X.509 extension 1.3.6.1.4.1.61546.101. The
extension is present on every signer certificate issued in a verifier application's scope and
always includes the verifier application identifier. Its value is CBOR (tag 24) with this
structure:
VerifierIdentityMetadata = {
"schema_version" : tstr, ; "1.0"
? "application_id" : tstr, ; the verifier application identifier
? "display" : DisplayInfo, ; present when identity metadata is configured
* tstr => any ; unknown keys are ignored
}
DisplayInfo = {
"display_name" : tstr,
? "logo" : LogoInfo,
? "privacy_policy_uri" : tstr,
* tstr => any
}
LogoInfo = {
"logo_uri" : tstr,
? "logo_hash" : bstr, ; SHA-256 digest, 32 bytes
* tstr => any
}Authorized purposes and elements
Authorization data states what the certificate authority permits the relying party to request. It complements, and does not replace, what the request itself states.
There are two kinds of authorization, and they are independent of each other:
- Authorized purposes state why the relying party may request data, such as age verification.
- Authorized elements state which data elements it may request, and whether it may keep them.
A verifier application can configure neither, either one, or both, depending on what the trust framework needs to control. For example, a trust network that approves relying parties for specific use cases might use authorized purposes only, a regulator that limits which attributes a sector can collect might use authorized elements only, and a framework that needs both controls can combine them.
Authorized purposes
A purpose describes why data is being requested. The structure follows the purpose model in the draft second edition of ISO/IEC 18013-5 (clause 10.2.5, still in draft at the time of writing):
- Purpose controller: The authority that defines a set of purpose codes and the policy behind
them, written as a reverse domain name such as
org.iso.jtc1.sc17ororg.example.trustnetwork.purposes. - Purpose code: An integer that maps to a definition maintained by the purpose controller. For
example, the draft standard defines
1for identity verification,2for driving privilege verification and3for age verification underorg.iso.jtc1.sc17.
{
"authorizedPurposes": {
"org.iso.jtc1.sc17": { "purposeCodes": [1, 3] }
}
}MATTR VII checks the syntax of purposes, but does not define, govern or verify purpose codes or controllers. Those are set by the trust framework you operate in.
Authorized elements
Authorized elements name the individual data elements a relying party may request, addressed by document type, namespace and element identifier, and whether it may keep each value after the transaction:
{
"authorizedElements": {
"org.iso.18013.5.1.mDL": {
"org.iso.18013.5.1": {
"age_over_18": { "authorizedToRetain": false },
"family_name": { "authorizedToRetain": true }
}
}
}
}An empty namespace map authorizes every namespace of its document type, and an empty element map
authorizes every element of its namespace. An element without authorizedToRetain makes no
statement about retention.
Authorization data is carried in the non-critical X.509 extension 1.3.6.1.4.1.61546.102, using
the same CBOR encoding as the identity metadata:
VerifierAuthorization = {
"schema_version" : tstr, ; "1.0"
? "authorized_purposes" : { + tstr => { "purpose_codes" : [+ int] } },
? "authorized_elements" : { + tstr => { * tstr => { * tstr => { ? "authorized_to_retain" : bool } } } },
* tstr => any
}The extension is present only when the verifier application configures authorized purposes, authorized elements, or both. A certificate without it makes no statement about authorization, which a wallet should treat as unconstrained rather than forbidden.
How authorization cascades down the chain
Authorization works like delegation. A certificate authority can grant authorization to the certificates it signs, but it cannot grant more than it holds itself, so each certificate further down the chain can only narrow what the certificates above it allow. For example, a trust network operator could authorize an intermediate CA for identity and age verification only. A relying party's signer certificate below it is then limited to those purposes. If it also claims driving privilege verification, wallets leave that purpose out.
A wallet applies this by keeping only what every certificate in the chain that carries authorization permits. A certificate without the authorization extension places no limit of its own, and a chain where no certificate carries it means the certificate authority has chosen not to limit what the relying party may request. The MATTR Holder SDKs work this way.
MATTR VII adds authorization to signer certificates only, so for the chains it issues, the signer certificate's authorization is the effective authorization.
Keeping certificates current
When you change a verifier application's identity metadata, authorized purposes or authorized elements, MATTR VII rotates the application's online signer certificate straight away, so the next signed remote request carries the new values. Device-bound signer certificates pick up the change the next time the SDK renews its certificate, within the 7-day validity window.
In-person signing with the Verifier Mobile SDK
The iOS Verifier SDK (from version 7.0.0) and the Android Verifier SDK (from version 8.0.0) sign in-person requests when you enable it on your verifier application. The React Native Verifier SDK currently does not support in-person request signing. Support is coming soon. Your app needs no code changes beyond handling one new error, because the SDK manages keys and certificates itself:
- Configuration. After
initialize, the SDK fetches a signed configuration from your MATTR VII tenant through the SDK Backend. It states whether in-person signing is enabled and whether it is required. The SDK refreshes it periodically, by default once a day. - Enrollment. When signing is enabled, the SDK generates a P-256 key pair on the device and asks your tenant to certify it. The tenant returns a device-bound signer certificate and its chain.
- Renewal. Before the current certificate expires, the SDK requests a replacement, with a new key pair each time. Renewal needs network access.
- Signing. When you call
sendProximityPresentationRequest, the SDK signs aReaderAuthfor each document request and attaches the certificate chain. Signing happens on the device and needs no network connection.
Renewal on each platform
The iOS Verifier SDK refreshes the configuration and renews its signer certificate and license while your app is active. Renewal pauses when the app moves to the background and resumes when it becomes active again. If your app is opened rarely, for example on a shared device used for occasional events, open it while the device is online ahead of time, so the SDK can renew an expired certificate before the first verification.
When requests are signed
None of these steps blocks initialize. If the configuration or a certificate cannot be retrieved,
initialization still succeeds.
The SDK always applies the configuration it retrieved most recently. This affects what happens when you send a request in the following situations:
- Before the first configuration is retrieved. The SDK treats signing as disabled and sends
requests unsigned, even when
requiredistrueon your tenant. This can happen when the app is first launched without a network connection, or a request is sent within moments of the firstinitialize, before the configuration has arrived. - After you change the configuration on your tenant. Each device keeps applying its previous configuration until its next refresh, by default within a day.
- When a refresh fails. If the device is offline or cannot reach your tenant, it keeps applying the configuration it already holds and tries again later.
- When no signer certificate is available yet. Signing is enabled but the SDK has not yet
obtained a signer certificate, for example because the device has been offline since signing was
enabled. The result depends on
required, as shown in the following table.
Based on the configuration it holds, the SDK applies the following behavior when you send a request:
enabled | required | Certificate the SDK holds | Result |
|---|---|---|---|
false | any | any | The request is sent unsigned. |
true | false | Valid | The request is signed. |
true | false | Expired or not yet valid | The request is signed. Wallets report the verifier as untrusted with an expired or inactive certificate. |
true | false | None, or the SDK cannot sign with it | The request is sent unsigned. |
true | true | Valid | The request is signed. |
true | true | Expired, not yet valid, none, or the SDK cannot sign with it | The request is not sent and the SDK returns an error. |
When required is true and the SDK cannot sign a request, handle the error as follows:
sendProximityPresentationRequest throws
ProximityPresentationSessionError.failedToGenerateVerifierAuthentication. The session stays open, so you can
retry or terminate it:
do {
let response = try await MobileCredentialVerifier.shared.sendProximityPresentationRequest(
request: requests
)
} catch ProximityPresentationSessionError.failedToGenerateVerifierAuthentication {
// The request was not sent. Ask the operator to connect the device to the internet so the SDK
// can renew its certificate, then retry or terminate the session.
}The most common cause is a device that has been offline for longer than its certificate's validity. See troubleshooting for other causes.
Considerations
- Identity is asserted by the tenant. MATTR VII signs the name, logo and privacy policy you configure, but does not verify that they belong to your organization. Trust networks that rely on this data for display should apply their own onboarding checks before adding a verifier root to a trust list.
- Use an unmanaged root your organization owns. Unmanaged (external) verifier certificates are intended for organizations that own their Verifier root CA and want to keep it offline or under their own PKI. Do not use a root CA that belongs to another organization, even if it signs an intermediate CA for you, because every request your tenant signs would then appear to wallets under that organization's trust.
- Devices need to come online regularly. Plan for verifier devices to connect at least every
few days so the SDK can renew its certificate. With
requiredset tofalse, a device that misses renewal still signs with an expired certificate, which wallets may treat as untrusted. - Device-bound certificates cannot be revoked. If a verifier device is lost, its certificate stays valid until it expires, at most 7 days after issuance.
- An intermediate CA bounds every signer below it. Signer certificates never outlive the intermediate CA that issued them, and MATTR VII cannot renew an intermediate CA signed by your root. Plan intermediate renewal well before it expires.
- One identity per verifier application. To present several relying party identities, create one verifier application for each.
Next steps
How would you rate this page?
Last updated on