OCI-WALLET · the protocols

The rules every issuer, exchange and wallet follows

Three specifications define OCI-Wallet. They were written from the running reference implementation, so each requirement is something it does. Where the code was silent, the spec lists an open question instead of a rule. All are work in progress at version 0.1.0.

  1. OCI-WALLET-1 Documents and Addressing v0.1.0 · Draft

    What a document is: its permanent address, its type, the issuer's signature on it, its printable copy and its status. Also wallet addresses, and how a document is matched to the person it is for.

    Reference implementation: ocitrust-api (participants and document types), ociwallet-issuer-api (signing a document, the printable copy, status), ociwallet-api (verifying a document), ociwallet-exchange-api (reading a URI and a wallet address)

  2. OCI-WALLET-2 Document Exchange v0.1.0 · Draft

    How issuers, wallets and exchanges talk: find, fetch, status and push, each signed, routed through a home exchange that keeps no document.

    Reference implementation: ociwallet-exchange-api (the exchange), ociwallet-issuer-api (an issuer's side), ociwallet-api (a wallet's side)

  3. OCI-WALLET-3 Wallets v0.1.0 · Draft

    What a wallet provider does for its person: connecting the national identity with consent, finding and keeping documents, checking each one, taking a document an issuer sends, and the person's own uploads.

    Reference implementation: ociwallet-api (the wallet server every provider runs), ociwallet-app (its app), ociid-api (the country's identity: the national_id scope and the ID card)

Built on the core specs

  • OCI-0 Core — Versioning, keys and the conventions every spec follows.
  • OCI-1 Trust Registry — The trust registry: who takes part, with which keys, and each country's document types.
  • OCI-2 ID Auth — Sign-in with an OCI-ID, which a wallet relies on and extends to connect the national identity.

From suite 0.1.0 of the OCI protocols (32d2061). How the implementations conform → · Every OCI specification →