Skip to content

Partner register โ€” Use your certificates

Registering produces certificates; this page shows where they go in the protocols, so that a wallet checking the register recognises your service. It describes the profile that the registry build of the EU reference wallet checks and that the hosted France Identitรฉ custom verifier and custom issuer implement.

Which wallets check this

The France Identitรฉ Partenaires app does not check the register yet: it accepts your requests whether or not they carry these certificates. Adding them now changes nothing for Partenaires and makes your service ready for when it does.

Flow Signed with Registration certificate carried in Standard
OpenID4VP 1.0 (openid4vp://, same-device or cross-device) Access certificate (WRPAC) verifier_info of the request object ETSI TS 119 472-2
OpenID4VP over the Digital Credentials API (outside Annex C) Access certificate verifier_info ETSI TS 119 472-2
OpenID4VCI 1.0 issuer metadata Access certificate issuer_info of the signed metadata ETSI TS 119 472-3
Attestations (mdoc, SD-JWT VC) Your signing certificate, chaining to your IACA โ€” ISO/IEC 18013-5, SD-JWT VC
ISO 18013-7 Annex A, Annex C, ISO 18013-5 proximity A reader certificate, not the access certificate โ€” Not covered by the register

Verifier: OpenID4VP requests

1. Sign the request object with your access certificate

Sign the request object (typ: oauth-authz-req+jwt) with the access private key, ES256 for a P-256 key, and put the access certificate in the x5c header (you may add the WRPAC CA after it). For the client_id, OpenID4VP 1.0 offers two prefixes based on that certificate; the registry wallet accepts both:

Prefix client_id When
x509_san_dns x509_san_dns:<host>, where <host> is the DNS name in your access certificate: the host of the Service address you registered. The certificate names it only once your organisation has proven the domain. Your verifier runs on that host and you proved it. This is the France Identitรฉ Partenaires profile.
x509_hash x509_hash:<base64url SHA-256 of the access certificate, DER> Always available, proven domain or not. Also for requests that do not come from your host, for example through the Digital Credentials API, where the hosted custom verifier uses it by default.

x509_san_dns needs a certificate that names the domain

The registry wallet refuses an x509_san_dns request whose access certificate names no domain (Certificates misses DNS names) or another one (ClientId not found in certificate's subject alternative names). The Domain name panel of the service's Certificates tab always shows the client identifier that works with your certificate in use.

# x509_hash value of your access certificate
openssl x509 -in access-certificate.pem -outform DER | openssl dgst -sha256 -binary | openssl base64 -A | tr '+/' '-_' | tr -d '='

Use the same value for iss. - Everything else follows the France Identitรฉ OID4VP 1.0 profile: response_mode direct_post.jwt, a fresh nonce and state, a DCQL query.

2. Attach the registration certificate

Add the registration certificate (the JWT) of the intended use that covers your request:

{
  "client_id": "x509_san_dns:checkin.hotel-rivage.example",
  "response_type": "vp_token",
  "response_mode": "direct_post.jwt",
  "dcql_query": { "credentials": [ โ€ฆ ] },
  "verifier_info": [
    { "format": "registration_cert", "data": "eyJhbGciOiJFUzI1NiIsInR5cCI6InJjLXdycCtqd3Qiโ€ฆ" }
  ]
}

Pick the registration certificate whose credentials cover every credential and claim of your DCQL query. The hosted custom verifier attaches one only when it covers the whole request; otherwise it sends the request without one, and a checking wallet warns the user.

3. Request what you registered

The DCQL query mirrors the registration certificate's credentials:

"credentials": [{
  "format": "mso_mdoc",
  "meta": { "doctype_value": "eu.europa.ec.eudi.pid.1" },
  "claim": [
    { "path": ["eu.europa.ec.eudi.pid.1", "family_name"] },
    { "path": ["eu.europa.ec.eudi.pid.1", "given_name"] },
    { "path": ["eu.europa.ec.eudi.pid.1", "birth_date"] }
  ]
}]
"credentials": [{
  "id": "pid",
  "format": "mso_mdoc",
  "meta": { "doctype_value": "eu.europa.ec.eudi.pid.1" },
  "claims": [
    { "path": ["eu.europa.ec.eudi.pid.1", "family_name"] },
    { "path": ["eu.europa.ec.eudi.pid.1", "given_name"] },
    { "path": ["eu.europa.ec.eudi.pid.1", "birth_date"] }
  ]
}]

Asking for anything else is over-asking: the request is still valid, but a checking wallet warns the user and asks for explicit consent.

What a checking wallet verifies

  1. The request signature, with the x5c certificate, which must chain to the WRPAC CA in the register's WRPAC providers list and match the client_id (its DNS name, or its hash).
  2. The registration certificate's signature, against the registrar signing certificate in the WRPRC providers list.
  3. The binding: wrpac_binding.certificate_sha256 equals the SHA-256 of the access certificate that signed the request. The register only issues a registration certificate whose sub is that certificate's organizationIdentifier.
  4. The status of the registration certificate in the register's status list: valid, not suspended or revoked.
  5. That the requested claims stay within credentials.

Then it shows the user your service name, your organisation and your purpose. A request signed with a certificate the register did not issue is refused as untrusted.

Present for a client

An intermediary signs with its own access certificate and attaches the client's registration certificate:

  • client_id and x5c are the intermediary's;
  • verifier_info carries the client's registration certificate, which names the intermediary: act.sub and intermediary.sub equal the organizationIdentifier of the intermediary's access certificate, and it has no wrpac_binding;
  • the DCQL query stays within the client's registration certificate.
"act": { "sub": "NTRFR-956789124" },
"intermediary": { "sub": "NTRFR-956789124", "sname": "Vรฉrifia", "name": "Vรฉrifia Dรฉmo SAS" }

The wallet shows the client as the relying party and records the intermediary. In the hosted custom verifier, this is the On behalf of option.

Issuer: signed metadata

A wallet that checks the register asks for your credential issuer metadata as a JWT (Accept: application/jwt) and expects:

  • a JWS with typ: openidvci-issuer-metadata+jwt, signed with your access certificate's key, the certificate in x5c;
  • your registration certificate in issuer_info, as ETSI TS 119 472-3 defines it:
"issuer_info": [
  { "format": "registration_cert", "data": "<your attestation registration certificate (JWT)>" }
]
  • credential configurations limited to the attestations you registered: a type you did not register is blocked (over-providing), while your registered types still issue;
  • attestations signed by your signing certificate (x5chain for mdoc, x5c for SD-JWT VC), chaining to the IACA or certificate the register publishes; a PID must chain to an IACA in the PID providers list.

This is OpenID4VCI 1.0 with HAIP. Draft 13 and Draft 15 offers have no signed metadata: a checking wallet refuses them. In the hosted custom issuer, it is the Wallet protocol toggle, OpenID4VCI 1.0 with HAIP.

Keep your certificates current

Registration certificates change when you edit a registration, when France Identitรฉ takes a decision, or when you renew your access certificate. Fetch them from the register rather than installing files by hand:

sha=$(openssl x509 -in access-certificate.pem -outform DER | openssl dgst -sha256 | awk '{print $NF}')
curl -s "https://api.playground.france-identite.gouv.fr/france-titres/registry/api/registry/registration-certificates?accessCertificateSha256=$sha" | jq '.registrationCertificates[] | {purpose, intendedUseIdentifier, onBehalfOf, expiresAt}'

The answer lists the registration certificates in force for that access certificate, newest first: purpose is intended-use (verifiers) or provision (issuers), and onBehalfOf marks a client's certificate for an intermediary. Each item carries the JWT in jws. The hosted custom verifier and custom issuer poll every 5 minutes and replace their certificates when the list changes. See APIs and automation.