← Specifications

OCI-4 Credentials

Version 0.1.0 · 2026-11-28 · Draft Changes
StatusDraft.
Version0.1.0, 2026-11-28
Profile ofOpenID for Verifiable Credential Issuance 1.0 (OID4VCI), OpenID for Verifiable Presentations 1.0 (OID4VP), OpenID4VC High Assurance Interoperability Profile 1.0 (HAIP, Final, 24 Dec 2025)
Credential formatsSD-JWT (RFC 9901, Nov 2025) and SD-JWT VC (draft-ietf-oauth-sd-jwt-vc-27, 16 Nov 2026), format identifier dc+sd-jwt. ISO/IEC 18013-5 mdoc, optional (section 10).
RevocationToken Status List (draft-ietf-oauth-status-list-21, in the RFC Editor queue, no RFC number yet)
Browser presentationW3C Digital Credentials API (Working Draft 2026-09-04), through OID4VP Appendix A
Depends onOCI-0 Core, OCI-1 Trust Registry
Used byOCI-5 Consent Receipt, OCI-6 App Manifest
Reference implementationpackages/credentials (@oci/credentials), SD-JWT VC only

1. Purpose

OCI-4 lets a government issue a credential, such as a national ID, to a resident’s wallet, and lets a relying party ask for only the facts it needs. It adds no new wire format. It picks options from OID4VCI, OID4VP, HAIP, SD-JWT VC and Token Status List, ties them to OCI-1 trust, and defines one credential type: the OCI national ID.

OCI-specific additions are marked OCI extension. Where OCI-4 departs from HAIP, it says so (section 4.3).

An earlier draft of this spec used SD-JWT VC -18. The current draft, and the one the standards map lists, is -27. OCI-4 pins -27 (CORE-8.2). Only the parts that this spec relies on were re-read against -27 (media type, typ, vct, disclosable claims, cnf, status, key resolution); a full diff against -18 is still to do (section 13).

2. Roles and format choice

RoleOCI-4 meaning
Credential issuerAn entity holding the OCI-1 credential_issuer trust mark.
WalletSoftware that holds credentials and keys for a resident. Supplied by a wallet provider (OCI-1 wallet_provider).
Relying party (verifier)An entity holding the OCI-1 relying_party trust mark.
ResidentThe holder.
  • CRED-2.1 SD-JWT VC in compact serialization is the primary format. Issuers, wallets and verifiers MUST support it. The JWS JSON serialization of SD-JWT MUST NOT be used. (HAIP 6.1 requires compact and makes JSON optional; OCI extension narrows it.)
  • CRED-2.2 Names used here follow the sources: the SD-JWT VC media type is application/dc+sd-jwt (SD-JWT VC 2.1), the JOSE typ is dc+sd-jwt (2.2.1), the key binding JWT typ is kb+jwt (RFC 9901 4.3), the status list token typ is statuslist+jwt (Token Status List 5.1), and the OID4VCI/OID4VP format identifier is dc+sd-jwt (OID4VCI A.3, HAIP 5.3.2).

3. Credential format

Profiles SD-JWT VC 2.2 and RFC 9901 section 4.

  • CRED-3.1 The issuer-signed JWT MUST have header typ equal to dc+sd-jwt, compared as an exact string. Verifiers MUST reject vc+sd-jwt (the earlier value) and application/dc+sd-jwt. (OCI extension: SD-JWT VC -18 allowed vc+sd-jwt for a transition. OCI 0.1 has no legacy credentials.)
  • CRED-3.2 The signature algorithm MUST be ES256 or PS256 (CORE-5.1). Verifiers MUST reject none, HS* and anything else (CORE-5.2). The header MUST carry a kid (CORE-5.3).
  • CRED-3.3 The payload MUST carry iss, iat, exp, vct and cnf. iss MUST be an entity identifier (CORE-3.1). cnf MUST contain jwk, a public key, and MUST NOT contain a private key parameter. iat later than now plus 60 seconds MUST be rejected, and so MUST an expired exp (CORE-6.2, CORE-6.3). (SD-JWT VC makes iss, exp and cnf optional. OCI extension makes them required, as HAIP 6.1 does for cnf when holder binding is required.)
  • CRED-3.4 Each Disclosure MUST use a fresh random salt of at least 128 bits (RFC 9901 4.2.1 recommends this; OCI requires it).
  • CRED-3.5 _sd_alg MUST be absent or sha-256. Digests are the base64url SHA-256 of the US-ASCII bytes of the Disclosure string (RFC 9901 4.2.3). A digest MUST NOT appear more than once in a credential. Issuers MAY add decoy digests. _sd arrays SHOULD be sorted. Verifiers MUST reject a Disclosure that is not a 3-element array (object property) or 2-element array (array element), whose name is _sd or ..., or whose name already exists at that level.
  • CRED-3.6 These claims MUST NOT be selectively disclosed: iss, nbf, exp, cnf, vct, vct#integrity, aka_vcts, status (SD-JWT VC 2.2.2.3). Issuers MUST NOT make them disclosable, and verifiers MUST reject a Disclosure that names one.

4. Trust and key discovery

  • CRED-4.1 A verifier MUST accept a credential only if the issuer’s OCI-1 chain proves the credential_issuer trust mark for iss (TR-4.2 to TR-4.6). A credential from an issuer without it MUST be rejected.
  • CRED-4.2 The verifier MUST verify the issuer signature only with keys that the issuer’s OCI-1 chain proves. (OCI extension. SD-JWT VC 2.5 defines JWT VC Issuer Metadata and x5c. See 4.3.)
  • CRED-4.3 (OCI extension) An issuer MUST publish its credential signing keys as the JWK Set metadata.federation_entity.oci_jwks in its entity configuration, and MUST hold the credential_issuer role trust mark (OCI-1 §10, TR-3.5). OpenID Federation 1.0 §5.2.1 forbids jwks in federation_entity metadata, and Federation Entity Keys SHOULD NOT be used in other protocols (§3.1.1), so they MUST NOT sign credentials. OCI-7 SIG-3.3 uses the same parameter. Rotation follows CORE-5.6.
  • CRED-4.4 Verifier identity: the wallet MUST resolve the verifier’s OCI-1 chain and require the relying_party trust mark before it releases any credential. OID4VP requests carry client_id with prefix openid_federation (openid_federation:https://shop.neighbour.example, OID4VP 5.9.3). Request objects are signed with a key from the verifier’s chain. Per OID4VP 5.9.3 the final verifier metadata comes from the trust chain after policy, the request MAY carry a trust_chain parameter, and the wallet MUST ignore any client_metadata parameter. OID4VP defines no federation entity type for verifiers, so OCI takes verifier metadata and keys from the openid_relying_party entity type (OCI extension).

4.3 Departures from HAIP

HAIP 6.1.1 requires the SD-JWT VC to contain the issuer’s signing certificate (x5c, without the trust anchor certificate), and HAIP 5 requires the x509_hash client identifier prefix for signed requests. OCI replaces both, as the source of trust, with OCI-1 federation. This is a deliberate departure: one trust system per country, no second PKI.

  • CRED-4.5 The one rule for x5c, x509_hash and federation keys (OCI extension): trust comes only from the OCI-1 chain. An issuer MAY include x5c so HAIP-only wallets can verify, and MUST include it when it claims HAIP conformance (HAIP 6.1.1). The leaf certificate’s public key MUST equal a key in the issuer’s chain-proven oci_jwks (CRED-4.3). An OCI verifier MUST verify with the chain-proven key and MUST reject the credential if x5c is present and its leaf key matches no such key. x5c alone never establishes trust; OCI verifiers do not validate X.509 paths. A verifier MAY also use x509_hash for HAIP-only wallets. Under x509_hash, OID4VP 5.9.3 takes every verifier property except the key from the unsigned client_metadata, so the request proves only control of a certificate, not an OCI identity or role. An OCI wallet MUST therefore NOT release a credential carrying an OCI LoA of substantial or high to a verifier identified only by x509_hash; it MAY release other credentials under HAIP rules. (Decided 2026-11-18.)
  • CRED-4.6 Everything else in HAIP 1.0 applies unchanged: ES256, SHA-256, DPoP, PAR, PKCE S256, key attestation support, DCQL, dc_api.jwt, direct_post.jwt, encrypted responses (ECDH-ES P-256, A128GCM and A256GCM).

5. Presenting and verifying

Profiles RFC 9901 section 7 and OID4VP Appendix B.3.

issuer-signed JWT ~ disclosure 1 ~ ... ~ disclosure n ~ KB-JWT
  • CRED-5.1 A presentation of a credential with cnf MUST end in a key binding JWT (KB-JWT). A verifier MUST reject a presentation without one. The check depends on the verifier’s policy in RFC 9901 7.3; OCI sets that policy to “always” for presentations.
  • CRED-5.2 The KB-JWT has header typ kb+jwt and claims iat, aud, nonce and sd_hash, all required. It MUST be signed with the key in cnf.jwk, with an algorithm from CORE-5.1. sd_hash is the base64url SHA-256 of the US-ASCII string made of the issuer-signed JWT, ~, and each presented Disclosure followed by ~ (RFC 9901 4.3.1). A verifier MUST recompute it.
  • CRED-5.3 aud MUST equal the verifier’s Client Identifier, for example openid_federation:https://shop.neighbour.example. Over the Digital Credentials API it MUST be the verifier’s origin prefixed with origin:, for example origin:https://shop.neighbour.example, even for signed requests (OID4VP B.3.6, A.4).
  • CRED-5.4 nonce MUST equal the nonce from the request. The verifier MUST generate a fresh, unpredictable nonce for every request, MUST accept it once, and MUST discard it when the request expires (OID4VP 5.2, 14.1).
  • CRED-5.5 The verifier MUST check that the KB-JWT iat is no later than now plus 60 seconds and no earlier than the verifier’s window. The window SHOULD be 5 minutes (OCI extension; RFC 9901 7.3 leaves the window to the verifier).
  • CRED-5.6 The verifier MUST reject a presentation in which any Disclosure is not referenced by a digest, is sent twice, or has a digest that does not match (a tampered Disclosure is both unreferenced and unmatched). A digest with no Disclosure is ignored: it is a decoy or a claim the holder withheld. A verifier MUST NOT treat a missing claim as proof that the issuer left it out (SD-JWT VC 4.6).
  • CRED-5.7 The verifier MUST check vct against the types it asked for in meta.vct_values (OID4VP B.3.5).
  • CRED-5.8 A holder MUST NOT present a Disclosure that was not issued, MUST NOT send a Disclosure twice, and MUST NOT use a key other than the cnf key. A holder MUST reject an SD-JWT that already has a KB-JWT when received from an issuer (RFC 9901 7.2).
  • CRED-5.9 Every verification failure returns one error code and no claim values (CORE-7.3).

6. Revocation and suspension

Profiles Token Status List (draft -21), JWT form.

  • CRED-6.1 Every OCI credential MUST carry status with status.status_list.idx (non-negative integer) and status.status_list.uri (an https URI). A verifier MUST reject a credential without status and MUST fail closed if it cannot check it. (OCI extension: the draft says verifiers SHOULD check; HAIP 6.1 says status and exp are options.)
  • CRED-6.2 The Status List Token is a JWT with header typ statuslist+jwt and claims sub, iat, exp, ttl and status_list. sub MUST equal status.status_list.uri. The verifier MUST check the signature, typ, sub and exp, and MUST reject a token without exp. (The draft makes exp and ttl recommended; OCI makes exp required.) The media type is application/statuslist+jwt.
  • CRED-6.3 The token MUST carry iss equal to the credential’s iss, and MUST be signed with a key proven for that issuer under CRED-4.2. (OCI extension: the draft does not require iss. OCI ties the list to the issuer so that a list from another party cannot answer for a credential.)
  • CRED-6.4 The verifier fetches the token. It MUST NOT follow redirects (OCI extension: the draft allows them, subject to its section 11.4), and the fetch limits of TR-7.1 to TR-7.3 apply. It MAY cache a token until the earlier of exp and iat + ttl. If the fetch or any check fails, the verifier MUST reject the credential.
  • CRED-6.5 A verifier MUST reject a credential whose idx is outside the list. It MUST bound the decompressed size of lst (the reference implementation allows 2 MiB) and MUST reject a list that exceeds it or is not valid zlib data.
  • CRED-6.6 Status values: 0x00 VALID, 0x01 INVALID (revoked), 0x02 SUSPENDED (Token Status List 7.1). A verifier MUST reject INVALID and SUSPENDED. It MUST also reject any other value it does not understand, including 0x03 and 0x0C to 0x0F, which the draft reserves for applications. OCI 0.1 assigns them no meaning. SUSPENDED credentials can return to VALID. INVALID is final.
  • CRED-6.7 The issuer MUST assign each credential a unique, unpredictable idx (HAIP 6.1). Each credential in a batch (CRED-8.4) gets its own idx.
  • CRED-6.8 bits MUST be 1, 2, 4 or 8. OCI issuers SHOULD use bits of 2 so that INVALID and SUSPENDED both fit. lst is the base64url (no padding) encoding of the zlib (RFC 1950) compression of the byte array. Entry idx occupies bits bits starting at bit idx * bits, counting from the least significant bit of byte 0 (draft 4.1, 11.1).
  • CRED-6.9 A status list MUST hold enough entries that its size does not reveal how many credentials the issuer has issued. The minimum is an open question (section 13).

7. The OCI national ID credential

  • CRED-7.1 The credential type is vct = https://oci.world/vct/national_id/v1. The URL form follows the OCI-1 trust mark style (https://oci.world/tm/role/credential_issuer): lower case with underscores, and a trailing /v1. vct is a Collision-Resistant Name (SD-JWT VC 2.2.2.1) and SD-JWT VC recommends a new vct for incompatible changes, so a breaking change makes /v2. Publishing Type Metadata at that URL (SD-JWT VC section 4) is an open question.
  • CRED-7.2 Claims:
ClaimTypeDisclosureMeaning
issuing_countrystringalways visibleISO 3166-1 alpha-2 (CORE-3.2)
loastringalways visiblelow, substantial or high (CORE-4): the assurance of the identity proofing
given_namestringselectiveOIDC Core 5.1 name
family_namestringselectiveOIDC Core 5.1 name
birthdatestringselectiveYYYY-MM-DD, OIDC Core 5.1 name
nationalitystringselectiveISO 3166-1 alpha-2
id_numberstringselectiveThe resident’s foundational ID number
age_over_18, age_over_21, age_over_65booleanselectiveDerived age claims (CRED-7.3)

Every claim marked “selective” MUST be a Disclosure. The issuer MUST NOT put them in the issuer-signed payload, and a verifier MUST reject a national ID that does. The verifier gets only what the holder reveals. issuing_country and loa MUST be in the issuer-signed payload and MUST NOT be Disclosures; a verifier MUST reject a national ID that makes loa a Disclosure or omits loa (error missing_loa).

  • CRED-7.3 The issuer computes age_over_NN from birthdate at issuance, as whole years on the issuance date. age_over_NN is true when the age is at least NN, and false otherwise. The names follow ISO/IEC 18013-5 age_over_NN data elements. A relying party that only needs an age check MUST request age_over_NN and MUST NOT request birthdate (CORE-7.1). A verifier MUST NOT infer an age from a missing claim.
  • CRED-7.4 A holder MAY reveal any subset of the selective claims.
  • CRED-7.5 Because age claims are fixed at issuance, issuers SHOULD keep exp to 30 days or less and re-issue by batch (CRED-8.4). A false age claim can become wrong within exp.
  • CRED-7.6 (OCI extension) A verifier MUST refuse a credential whose loa is higher than the LoA the issuer’s OCI-1 chain proves (TR-4.6), with error loa_exceeds_issuer, so an issuer cannot claim more assurance than its accreditation. If the chain proves no LoA, any loa claim is refused.

7.6 Worked example (informative)

Values are fictional and shortened. Digests and signatures are not byte-exact. Issuer https://id.home.example (country XT) issues to a wallet, then a verifier at https://shop.neighbour.example (country XC) asks for an age check.

Issuer-signed JWT, header and payload:

{ "alg": "ES256", "typ": "dc+sd-jwt", "kid": "Zr0f...thumbprint" }
{
  "iss": "https://id.home.example",
  "iat": 1795000000,
  "exp": 1797592000,
  "vct": "https://oci.world/vct/national_id/v1",
  "issuing_country": "XT",
  "loa": "high",
  "cnf": { "jwk": { "kty": "EC", "crv": "P-256", "x": "...", "y": "...", "kid": "Hq3a...thumbprint" } },
  "status": { "status_list": { "idx": 4711, "uri": "https://id.home.example/status/1" } },
  "_sd_alg": "sha-256",
  "_sd": ["1qJ...", "5Vd...", "Bz8...", "KkP...", "Mw2...", "QeA...", "T9c...", "xUs..."]
}

One Disclosure, decoded before base64url encoding. The string that is hashed into _sd is the base64url form:

["Nf3q8s0mZb1TqVr9yH7x2A", "age_over_18", true]

Presentation sent to the verifier. The holder reveals only age_over_18:

eyJhbGciOiJFUzI1NiIs...<issuer-signed JWT>~WyJOZjNxOHMwbVpiMVRxVnI5eUg3eDJBIiwiYWdlX292ZXJfMTgiLHRydWVd~eyJhbGciOiJFUzI1NiIs...<KB-JWT>

KB-JWT, header and payload (the request came through the Digital Credentials API, so aud is an origin):

{ "alg": "ES256", "typ": "kb+jwt", "kid": "Hq3a...thumbprint" }
{
  "iat": 1795100000,
  "aud": "origin:https://shop.neighbour.example",
  "nonce": "n-0S6_WzA2Mj",
  "sd_hash": "x3T...base64url SHA-256 of '<issuer-signed JWT>~<disclosure>~'"
}

DCQL query in the request:

{
  "credentials": [{
    "id": "age_check",
    "format": "dc+sd-jwt",
    "meta": { "vct_values": ["https://oci.world/vct/national_id/v1"] },
    "claims": [{ "path": ["age_over_18"] }]
  }]
}

Status List Token, header and payload (lst is base64url of the zlib-compressed bytes, 2 bits per entry):

{ "alg": "ES256", "typ": "statuslist+jwt", "kid": "Zr0f...thumbprint" }
{
  "iss": "https://id.home.example",
  "sub": "https://id.home.example/status/1",
  "iat": 1795099000,
  "exp": 1795185400,
  "ttl": 3600,
  "status_list": { "bits": 2, "lst": "eNpjYAACAAAGAAE" }
}

8. Issuance

Profiles OID4VCI 1.0 and HAIP section 4.

  • CRED-8.1 Issuers MUST use the authorization code flow with PAR, PKCE S256, DPoP, and the iss authorization response parameter (HAIP 4). The resident authenticates at the issuer’s authorization server using OCI-2 at a level not below the credential’s loa (CORE-4.1).
  • CRED-8.2 The credential issuer publishes metadata at /.well-known/openid-credential-issuer (OID4VCI 12.2.2). The national ID’s entry in credential_configurations_supported has format dc+sd-jwt, vct as in CRED-7.1, a scope (HAIP 4.1), cryptographic_binding_methods_supported ["jwk"], credential_signing_alg_values_supported ["ES256"] and proof_types_supported.jwt.proof_signing_alg_values_supported ["ES256"]. It MUST publish nonce_endpoint.
  • CRED-8.3 The wallet proves key possession with a jwt proof (OID4VCI F.1): header typ openid4vci-proof+jwt, aud equal to the Credential Issuer Identifier, iat, and nonce from the nonce endpoint. For loa high, the wallet MUST also send a key attestation (key-attestation+jwt, OID4VCI D.1; HAIP 4.5.1) that proves the key sits in secure hardware.
  • CRED-8.4 The issuer SHOULD support batch issuance (batch_credential_issuance, HAIP 4). Each credential in a batch MUST use a different holder key, a different status.idx and fresh salts, so that two presentations cannot be linked through the credential.
  • CRED-8.5 The credential response carries credentials[].credential, a compact SD-JWT VC ending in ~ with no KB-JWT (OID4VCI 8.3, A.3).
  • CRED-8.6 The issuer MUST NOT copy claim values of one credential into the metadata or logs (CORE-7.3).

9. Presentation protocol

Profiles OID4VP 1.0 and HAIP section 5.

  • CRED-9.1 Verifiers query with DCQL (OID4VP 6): format dc+sd-jwt, meta.vct_values listing https://oci.world/vct/national_id/v1, and one claims entry per claim with path such as ["age_over_18"]. The wallet MUST show the resident the requested claims and the verifier’s name from its trust chain before it responds.
  • CRED-9.2 The response is a vp_token object keyed by DCQL credential query id, each value an array of presentations (OID4VP 8.1).
  • CRED-9.3 In a browser, the verifier MUST use the W3C Digital Credentials API with response mode dc_api.jwt (encrypted) and a signed request (openid4vp-v1-signed) carrying expected_origins (OID4VP A.1 to A.3, HAIP 5.2). Wallets MUST reject an unsigned request for a national ID (OCI extension: HAIP lets wallets accept unsigned requests, but OCI needs a verifier identity for CRED-4.4).
  • CRED-9.4 Outside a browser, the verifier MUST use a JAR request with request_uri, response mode direct_post.jwt, and the redirect_uri rule (HAIP 5.1), with a QR code or a haip-vp:// link for cross-device use. This is also the fallback for browsers without the Digital Credentials API, which is still a W3C Working Draft.
  • CRED-9.5 Each request MUST state a purpose in client_metadata or the OCI-1 metadata of the verifier, and the wallet MUST show it. The response MUST NOT include claims outside the request (CORE-7.1).

10. mdoc (optional)

  • CRED-10.1 A country MAY issue the national ID as an ISO/IEC 18013-5 mdoc in addition to SD-JWT VC (format mso_mdoc, HAIP 5.3.1). It is useful for offline and proximity presentation.
  • CRED-10.2 An mdoc national ID uses the same claim names as CRED-7.2 as data elements, with age_over_NN as in 18013-5. The same OCI-1 trust marks apply. The mdoc docType and namespace are open (section 13). The reference implementation does not cover mdoc.

11. Security and privacy

  • Replay. Fresh single-use nonce, aud binding and the sd_hash stop a presentation being replayed to another verifier or with different Disclosures (CRED-5.2 to CRED-5.4). Over the Digital Credentials API, the origin: audience stops a malicious site relaying a request.
  • Tampering. The issuer signature covers every digest. A changed Disclosure no longer matches a digest (CRED-5.6).
  • Linkability by the issuer. status.idx and the status list URI identify the credential to the issuer. A verifier that fetches the list tells the issuer which list it checked, not which credential. The list must be large (CRED-6.9) and fetched or cached by the verifier, never by the wallet at presentation time. Wallet-fetched status proofs are an open question.
  • Linkability by verifiers. Colluding verifiers can link presentations that reuse the same credential. Batch issuance (CRED-8.4) reduces this: use each credential once.
  • Stale status. A status list is only as fresh as ttl and exp. Offline verification uses a cached list and accepts that revocation can lag by up to ttl.
  • Age claims. Fixed at issuance (CRED-7.5). They reveal less than birthdate but still reveal one bit per threshold.
  • Salts. Disclosure salts are secret to the holder (RFC 9901 9.3). Verifiers MUST NOT log Disclosures (CORE-7.3).
  • Clock. 60 seconds of skew (CORE-6.2).
  • Resource limits. Verifiers MUST bound input size and decompression (CRED-6.5).

12. Conformance

An implementation conforms to OCI-4 0.1 when it passes the tests in packages/credentials/test tagged with a CRED clause, and the OpenID Foundation tests for OID4VCI, OID4VP and HAIP where they apply. The reference tests cover:

ClausesChecked by
CRED-3.1 to 3.6sdjwt.test.ts: typ, alg none, missing kid, bad signature, tampered payload, expiry, iat in the future, missing exp, vct and cnf, salts, digests, decoys, never-disclosable claims
CRED-4.1, 4.2sdjwt.test.ts: missing role, key not proven by the trust chain
CRED-5.1 to 5.8sdjwt.test.ts: missing KB-JWT, wrong aud, origin: audience, wrong nonce, old or future KB-JWT, wrong sd_hash, wrong KB key or typ, tampered, duplicate and unreferenced Disclosures, holder rules
CRED-6.1 to 6.8sdjwt.test.ts, statuslist.test.ts: revoked, suspended, unknown value, no status, fetch failure, wrong sub, wrong iss, unproven key, wrong typ, expired token, idx out of bounds, decompression bomb, bit layout, round trips for 1, 2, 4 and 8 bits
CRED-7.1 to 7.4nationalid.test.ts: vct, claims in the clear, age thresholds, bad birthdates, partial disclosure
CRED-7.2 (loa), 7.6sdjwt.test.ts, credential.test.ts: loa never a Disclosure, missing_loa, loa_exceeds_issuer, chain proving no LoA
CRED-4.5release.test.ts: mayReleaseTo by client_id prefix and LoA

Not covered by code: CRED-2.1 (JSON serialization is simply not produced), 4.3, 4.4 and 4.6 (4.5 is covered only for the x509_hash LoA rule), 6.4 (fetch limits belong to the transport), 6.7, 6.9, 7.5, section 8 and 9 (protocol endpoints), and section 10. The OpenID Foundation suite or a later OCI conformance harness checks those.

13. Open questions

  1. Resolved: oci_jwks is defined once in OCI-1 (TR-4.8). Revisit if a wallet federation profile defines a credential issuer entity type.
  2. Resolved 2026-11-18 (CRED-4.5): no mapping. x509_hash verifiers get no substantial or high credentials. Revisit only if HAIP-only verifiers need national ID access; the option then is an OCI-1 metadata field listing a verifier’s certificate hashes.
  3. Checked: OID4VP 5.9.3 says metadata comes from the chain and client_metadata is ignored, but names no entity type. CRED-4.4 uses openid_relying_party; revisit if OpenID publishes a verifier entity type.
  4. SD-JWT VC -27: full diff against -18, and whether vc+sd-jwt is still tolerated in any form.
  5. Status list minimum size (CRED-6.9), and wallet-supplied status proofs to stop issuer-side lookup tracking.
  6. Test vectors: the Token Status List draft has vectors in Appendix C. The reference tests use their own bit-layout checks. Add the draft’s vectors.
  7. mdoc docType, namespace and revocation mechanism (status in the MSO, or 18013-5 second edition revocation).
  8. Type Metadata for https://oci.world/vct/national_id/v1: display, claim paths, sd always (SD-JWT VC section 4), and vct#integrity.
  9. Should exp for the national ID be fixed at 30 days (CRED-7.5), and is batch re-issue practical on low-end devices?
  10. Photo (portrait) and address claims are left out of 0.1.
  11. SD-JWT VC key discovery through OCI-1 is not one of the two mechanisms SD-JWT VC 2.5 lists. Ask the OAuth working group whether an ecosystem mechanism is allowed.

Changes

VersionDateWhat changed
0.1.02026-11-28First versioned release: the text of Draft 0.1 (2026-11-18).