Skip to content
DRAFT⚠OIML SMART pilot programme · internal use only · all documents and specifications are drafts and may change without notice

CNML, the OIML SMART Certificate Format

The Certificat Numérique de Métrologie Légale: the format, the apps, the operator manuals.

In this section: CNML (Certificat Numérique de Métrologie Légale), the program’s machine-readable certificate format, the format, the apps, and the operator manuals. The sources live in the cnml repo (renamed from digital-certificates); this section is the reading guide.


1. What CNML is

CNML is the OIML SMART program’s name for its certificate format on the Confium PKI: an XML document per Recommendation (R 60, R 129, … , 22 per-Recommendation JSON Schemas), carrying the certified type, the per-rec characteristics, the recommendation identity and the test reports, signed with XMLDSig (ECDSA P-256) and verifiable through a fixed check pipeline. It is a Primmel-adjacent OIML initiative: it applies to OIML SMART today, and the pattern applies to any SMART program.

2. The pieces (the cnml repo)

Piece What it owns
packages/cnml-xml cert JSON → CNML XML and back (browser-native)
packages/cnml-schemas the 22 per-Recommendation JSON Schemas + the core model
packages/cnml-crypto key custody, sign, verify, the check pipeline
apps/cnml-web the standalone CNML web app (create, sign, verify)
oiml-pki-server the Mode 3 CA (the Confium flagship, its own specs)

The format validates every certificate against its per-Recommendation schema before signing; the check pipeline verifies: xml-well-formed → schema-valid → signature → scope → crl → timestamp → transparency.

3. The operator manuals (the repo’s own docs)

4. CNML inside the OIML SMART app

The app embeds the format through the CNML bridge (sign + verify on the certificate detail page): see the CNML bridge in the Platform volume, and Confium for the PKI it rides on , both on the Primmel SMART docs site.

The hero page: OIML CNML, what the certificate is, its anatomy, and the seven checks. Back to the docs index.