Summary

  • RFC 9881 defines PKIX use of the pure ML-DSA variants ML-DSA-44, ML-DSA-65, and ML-DSA-87 in certificates and CRLs.
  • Their complete OIDs are 2.16.840.1.101.3.4.3.17 for ML-DSA-44, 2.16.840.1.101.3.4.3.18 for ML-DSA-65, and 2.16.840.1.101.3.4.3.19 for ML-DSA-87. The corresponding security categories are Level 2, Level 3, and Level 5.
  • The AlgorithmIdentifier parameters field MUST be absent, not encoded as NULL; signatures are raw ML-DSA values over the DER-encoded signed structure, with an empty context string.

A certificate can wear the right algorithm name and still fail the handshake. That is the uncomfortable lesson of RFC 9881: in PKIX, ML-DSA interoperability is not a logo on a datasheet. It is a byte-level contract between issuer and verifier, enforced through exact OIDs, absent parameters, raw key encodings, tagged private-key forms, and a refusal to guess.

The certificate profile is the contract. In a certificate or CRL, the selected OID appears in AlgorithmIdentifier, while the raw ML-DSA signature occupies signatureValue. A verifier must hash and verify the DER encoding of the signed structure, not a reserialized approximation. RFC 9881 leaves the optional context empty for this PKIX use.

The OID is the name tag, not the passport

RFC 9881 maps the pure ML-DSA family into PKIX with three OIDs: 2.16.840.1.101.3.4.3.17 for ML-DSA-44, 2.16.840.1.101.3.4.3.18 for ML-DSA-65, and 2.16.840.1.101.3.4.3.19 for ML-DSA-87. The corresponding security categories are Level 2, Level 3, and Level 5. The OID tells you which ML-DSA level is claimed. It does not tell you that the encoder and parser agree on the rest of the profile.

AlgorithmIdentifier: absent means absent

The AlgorithmIdentifier parameters field MUST be absent, not encoded as NULL. That is not a harmless dialect. A NULL parameter is a different byte sequence, and a verifier that accepts it has quietly broadened the profile. In a migration, that permissiveness becomes a compatibility boundary nobody documented and nobody can revoke cleanly.

SubjectPublicKeyInfo: raw key bytes, no wrapper

SubjectPublicKeyInfo carries the raw ML-DSA public-key byte string, without another ASN.1 wrapper. The public-key sizes are 1,312 octets for ML-DSA-44, 1,952 for ML-DSA-65, and 2,592 for ML-DSA-87. When keyUsage is present, at least one signature-related bit must be set; encryption and key-agreement bits MUST NOT be set for an ML-DSA key. Those are RFC requirements, not implementation preferences.

Private keys: read the tag, not the length

Private-key interchange is a separate failure surface. OneAsymmetricKey may contain a seed, an expanded key, or both. The seed-only form is recommended for storage efficiency. A parser must select the representation from its ASN.1 tag, never from apparent length. Length is not a personality test. If both forms are present, a failed consistency check means the recipient MUST reject the key as malformed.

Pure ML-DSA is not Dilithium with a new haircut

RFC 9881 selects pure ML-DSA. HashML-DSA OIDs MUST NOT be used in the covered PKIX protocols. This is also the boundary with pre-standardization Dilithium: ML-DSA and Dilithium are not compatible, so a familiar implementation label cannot justify accepting the other wire format.

Sources