← Specifications

OCI-0 Core

Version 0.1.0 · 2026-11-28 · Draft Changes
StatusDraft.
Version0.1.0, 2026-11-28
Depends onRFC 2119 / RFC 8174, RFC 7515 (JWS), RFC 7517 (JWK), RFC 7519 (JWT), RFC 7638 (JWK thumbprint)
Used byEvery other OCI spec

1. Purpose

OCI-0 holds the rules every OCI spec shares: terms, roles, assurance levels, key and algorithm rules, time handling and versioning. Other OCI specs refer to it and do not repeat it.

2. Conventions

The key words MUST, MUST NOT, REQUIRED, SHALL, SHALL NOT, SHOULD, SHOULD NOT, RECOMMENDED, MAY and OPTIONAL are to be read as described in RFC 2119 and RFC 8174, and only when they appear in capitals.

Every normative clause has an ID such as CORE-3.1. Conformance tests cite these IDs.

3. Terms and roles

TermMeaning
CountryA sovereign jurisdiction that runs its own OCI trust anchor.
Trust anchorThe root entity a country’s relying parties trust. It issues statements about the entities directly beneath it. One per country (OCI-1).
IntermediateA ministry, agency or state body that the trust anchor delegates to. It issues statements about the entities beneath it.
RegistrarThe authority that holds the foundational identity register (in Meridian: the national ID authority).
Identity providerAuthenticates residents and releases claims (OCI-2, OCI-3).
Credential issuerIssues credentials to wallets (OCI-4).
Wallet providerSupplies a wallet that holds credentials.
Relying partyA government or private service that consumes identity or credentials.
Enrolment centreCaptures demographic and biometric data for the registrar.
Trust mark issuerAsserts that an entity holds an OCI role or assurance level (OCI-1).
ResidentThe person the identity belongs to. OCI uses “resident”, not “citizen”, because foundational ID usually covers every resident.
  • CORE-3.1 An entity identifier MUST be an https URL with no query, fragment or user information. Identifiers are compared as exact strings.
  • CORE-3.2 Countries are identified by ISO 3166-1 alpha-2 codes. Test and fictional countries MUST use the user-assigned codes XA to XZ, except XK, which is widely used for Kosovo. The Meridian demo country, Tavora, is XT.

4. Assurance levels

OCI defines three levels of assurance (LoA). Each covers both how well the identity was proven and how strongly the person authenticated.

OCI LoAMeaningeIDAS LoA (informative)NIST SP 800-63 (informative)
lowSelf-asserted, or checked against a document without biometricslowIAL1 / AAL1
substantialIdentity checked against the register; two-factor authenticationsubstantialIAL2 / AAL2
highBiometric match against the register; phishing-resistant authentication bound to a devicehighIAL3 / AAL3
  • CORE-4.1 The order is low < substantial < high. Wherever OCI combines levels, the lower level wins.
  • CORE-4.2 The mapping columns are informative. A country MUST publish its own mapping before it claims eIDAS or NIST equivalence.

5. Keys and algorithms

  • CORE-5.1 Every OCI signature is a JWS, except in formats that the profiled standard defines over COSE (ISO/IEC 18013-5 mdoc, CWT), where the same algorithms apply by their COSE identifiers (ES256 is -7). Implementations MUST support ES256 (ECDSA P-256 with SHA-256). They MAY support PS256 for existing hardware security modules (HSMs) that cannot do ECDSA.
  • CORE-5.2 Verifiers MUST reject none, every symmetric (HS*) algorithm, and every algorithm not listed in CORE-5.1.
  • CORE-5.3 Every JWS header MUST carry a kid. A kid SHOULD be the RFC 7638 thumbprint of the public key.
  • CORE-5.4 Every JWS MUST carry an explicit typ naming its media type, and verifiers MUST check it. This stops a token of one kind being replayed as another.
  • CORE-5.5 Trust anchor, intermediate and registrar private keys MUST be held in an HSM, or in a cloud key service backed by an HSM, in production.
  • CORE-5.6 A new key MUST be published at least 24 hours before it is used to sign. A retired key MUST stay published until every statement it signed has expired. A compromised key is the exception: it MUST be removed at once, and every statement it signed MUST be treated as revoked.
  • CORE-5.7 Implementations MUST use a maintained JOSE library and MUST NOT implement signature primitives themselves.
  • CORE-5.8 Where an OCI profile encrypts a JWT, it MUST use JWE with alg ECDH-ES on P-256 and enc A128GCM or A256GCM. Verifiers MUST reject every other combination.

6. Time

  • CORE-6.1 Times are NumericDate seconds (RFC 7519).
  • CORE-6.2 Verifiers MUST allow no more than 60 seconds of clock skew.
  • CORE-6.3 Every signed OCI statement MUST carry iat and exp. A statement whose iat is later than now plus the skew MUST be rejected. Security Event Tokens (RFC 8417, OCI-7) are the exception: they carry no exp, and OCI-7 sets a maximum age instead.

7. Privacy baseline

  • CORE-7.1 Every request for personal data MUST state a purpose, and the response MUST NOT include claims outside that purpose (OCI-3, OCI-5).
  • CORE-7.2 Selective disclosure is the default wherever the format supports it (OCI-4).
  • CORE-7.3 Logs MUST NOT contain identity numbers, biometrics, or authentication secrets in clear text.
  • CORE-7.4 Demonstrations and conformance tests MUST use synthetic data only.

8. Versioning

  • CORE-8.1 Each OCI spec has a version MAJOR.MINOR.PATCH, numbered as Semantic Versioning 2.0.0 numbers software, applied to the text. A PATCH version changes wording, examples or typos and no requirement: every numbered clause keeps its meaning. A MINOR version adds what an implementation of the previous version still satisfies, such as an optional feature or a new clause that only applies to it. A MAJOR version may break compatibility.
  • CORE-8.2 When an OCI spec profiles a standard that is still a draft, it MUST pin the exact draft version, and it MUST be revised when that standard is published.
  • CORE-8.3 A spec at version 0.x carries no compatibility promise: a MINOR version below 1.0 may break compatibility. Version 0.1.0 is work in progress: while a spec is at 0.1.0 its text MAY change in place, without a new version, and its Changes entry for 0.1.0 says what it covers. A spec leaves 0.1.0 when its working group first releases it as stable enough to cite.
  • CORE-8.4 Each spec states its version and date in its header (Version), and ends with a Changes section that has one entry per version, newest first. From the first version after 0.1.0, changing a numbered clause takes at least a MINOR version, and any other change to the text takes at least a PATCH version.
  • CORE-8.5 The specs are released together as a suite with its own version. docs/specs/suite.json names the version of every spec in the suite. A suite release is tagged suite-vX.Y.Z, and each spec version in it is tagged <spec>/vX.Y.Z (for example oci-2-id-auth/v0.1.0), so every version stays retrievable. While the suite is at 0.1.0 (CORE-8.3), suite-v0.1.0 and the /v0.1.0 tags mark the latest published text and move with it; a tag of any later version never moves. A suite’s version changes whenever a spec in it does, by at least the largest change among them.
  • CORE-8.6 An implementation MUST state which version of each OCI spec it implements. A conformance result names the spec versions it was run against.
  • CORE-8.7 A spec’s identifier is OCI-N for a core spec that the whole suite builds on, or OCI-<FAMILY>-N for a spec in a protocol family, where N counts from 1 within the family. The payments family is PAY (OCI-PAY-1 to OCI-PAY-4). The file and tag names are the identifier in lower case followed by a short name (oci-pay-2-payments-switch, tagged oci-pay-2-payments-switch/v0.2.0). An identifier is never reused, and renaming a spec after 0.1.0 takes a new version.

9. Errors

  • CORE-9.1 HTTP APIs return errors as JSON { "error": "<code>", "error_description": "<text>" }, matching OAuth 2.0 (RFC 6749 §5.2). Descriptions MUST NOT leak personal data or internal detail.

Changes

VersionDateWhat changed
0.1.02026-11-28First versioned release: the text of Draft 0.1 (2026-11-18), with §8 Versioning rewritten for MAJOR.MINOR.PATCH versions and suite releases; CORE-8.7 names protocol families (OCI-PAY-N).