Internet-Draft Post-Quantum CMP Algorithms December 2026
Liu, et al. Expires 4 June 2027 [Page]
Workgroup:
LAMPS
Internet-Draft:
draft-liu-lamps-cmp-pqc-algorithms-00
Updates:
9481 (if approved)
Published:
Intended Status:
Standards Track
Expires:
Authors:
P. Liu, Ed.
Pengcheng Laboratory
R. Yang, Ed.
Pengcheng Laboratory
X. Liu, Ed.
Pengcheng Laboratory
Y. Zhang, Ed.
Pengcheng Laboratory
W. Zhang, Ed.
Pengcheng Laboratory

Post-Quantum Algorithm Profiles for the Certificate Management Protocol (CMP)

Abstract

This document updates RFC 9481 by specifying post-quantum algorithm conventions and an opt-in algorithm profile for the Certificate Management Protocol (CMP). It specifies the use of ML-DSA and pure SLH-DSA for CMP signatures, ML-KEM for existing CMP key encapsulation mechanisms, and a certificate-confirmation hash mapping for these signature algorithms. It provides concrete algorithm combinations for message protection, proof of possession, and encrypted delivery using the mechanisms already defined in RFC 9810.

The profile reuses existing algorithm identifiers, certificate formats, and CMS recipient structures. It introduces no new CMP messages, ASN.1 types, or algorithm identifiers. Its implementation requirements apply to implementations claiming conformance to this profile; it does not replace the algorithm requirements of RFC 9481 for other CMP deployments.

Discussion Status

This note is to be removed before publishing as an RFC.

This is an individual contribution for discussion in the Limited Additional Mechanisms for PKIX and SMIME (LAMPS) Working Group. It has not been adopted by the working group. The algorithm baseline and certificate-confirmation mapping in this revision are proposals for review, not requirements of an existing IETF standard.

Status of This Memo

This Internet-Draft is submitted in full conformance with the provisions of BCP 78 and BCP 79.

Internet-Drafts are working documents of the Internet Engineering Task Force (IETF). Note that other groups may also distribute working documents as Internet-Drafts. The list of current Internet-Drafts is at https://datatracker.ietf.org/drafts/current/.

Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress."

This Internet-Draft will expire on 4 June 2027.

▲

Table of Contents

1. Introduction

The Certificate Management Protocol (CMP) [RFC9810] supports the enrollment and lifecycle management of X.509 certificates. CMP Algorithms [RFC9481] specifies algorithms and algorithm-use profiles for message protection, key management, content encryption, and related operations. Its public-key algorithm descriptions predate the standardization of ML-DSA, SLH-DSA, and ML-KEM.

CMP already provides the protocol mechanisms needed to manage post-quantum keys. In particular, [RFC9810] supports KEM certificates, KEM-based message protection, KEM proof of possession (POP), and CMS EnvelopedData containing a KEMRecipientInfo [RFC9629]. The remaining problem addressed here is selecting and encoding concrete algorithms consistently at these existing interfaces.

For example, two CMP implementations can both support ML-DSA and ML-KEM but disagree about the digest used in certConf, the KDF used for KEM-based message protection, or the key-wrapping algorithm used for an encrypted certificate. A common profile permits these choices to be configured and tested together. It also distinguishes a request for a post-quantum certificate from a management operation whose own authentication and confidentiality satisfy post-quantum policy.

This document specifies pure ML-DSA and pure SLH-DSA signatures over the existing CMP signature inputs. It specifies ML-KEM parameters for existing CMS and CMP mechanisms, defines a certificate-confirmation hash mapping, and establishes a mandatory-to-implement baseline for implementations choosing this profile. Existing public-key and signature encodings are taken from [RFC9881], [RFC9909], and [RFC9935].

2. Conventions and Terminology

The key words MUST, MUST NOT, REQUIRED, SHALL, SHALL NOT, SHOULD, SHOULD NOT, RECOMMENDED, NOT RECOMMENDED, MAY, and OPTIONAL in this document are to be interpreted as described in BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all capitals.

EE
An end entity requesting or managing a certificate.
RA and CA
A registration authority and a certification authority, respectively.
KGA
A key generation authority that generates a key pair on behalf of an EE.
Management operation
A CMP PKI management operation, including its associated requests, responses, and confirmations, as defined in RFC 9810.
Base profile
The opt-in algorithm configuration specified in Section 8.1. The term is descriptive and is not an on-the-wire identifier.
Authorized policy
Local configuration or authenticated configuration information that binds a peer, its authorization, the permitted algorithms, and the intended management operation.
CEK and KEK
A CMS content-encryption key and key-encryption key, respectively.

DER(X) denotes the Distinguished Encoding Rules encoding of ASN.1 value X. empty denotes a zero-length octet string. Lengths supplied to HKDF, and the len and kekLength fields discussed below, are in octets. BIT STRING signature and MAC values have zero unused bits. An AlgorithmIdentifier with absent parameters is different from one containing an ASN.1 NULL value.

3. Scope and Relationship to Existing Specifications

This document updates [RFC9481] by adding the conventions in Section 4, Section 5, Section 6, and Section 7, and the opt-in profile in Section 8. The precise update boundaries are collected in Section 10.

The profile is for CMP implementations using [RFC9810]. A management operation conforming to this profile MUST use pvno cmp2021(3) from its initial request. Version fallback MUST NOT remove this requirement while the implementation continues to claim that the operation conforms to this profile.

This document does not define initial device ownership, establish a new trust anchor, prescribe a certificate issuance policy, or authorize a peer merely because its signature verifies. Such decisions remain subject to the authentication and authorization requirements of CMP and the deployment.

The algorithm profile can inform deployments using the Lightweight CMP Profile [RFC9483], but does not update that document. In particular, RFC 9483 describes three key-management techniques for centrally generated private-key delivery; this document does not add a fourth technique to those procedures. A deployment using KEM delivery under RFC 9810 needs to describe that extension explicitly and cannot infer unmodified RFC 9483 conformance from this document.

Composite signatures [RFC10073] [RFC10082] and other hybrid migration mechanisms are outside the base profile. They can be selected by separate deployment profiles using their defining specifications. This document does not define a combiner, concatenate independent signatures, or combine KEM secrets.

4. Post-Quantum Signature Conventions

4.1. ML-DSA

ML-DSA is specified in [FIPS204]. Its identifiers and PKIX encodings are specified in [RFC9881]. ML-DSA-44, ML-DSA-65, and ML-DSA-87 MAY be used for CMP signatures, subject to authorized policy. The base profile requires ML-DSA-65.

The signature AlgorithmIdentifier MUST contain the identifier for the actual parameter set, with parameters absent. An implementation MUST NOT encode an ASN.1 NULL parameter or carry a parameter-set selector in the parameters field. Public keys and certificates MUST use the encodings specified in RFC 9881.

CMP signatures under this document MUST use pure ML-DSA with an empty context string. HashML-DSA is not specified here. An implementation MUST NOT replace the defined message input with an externally computed digest and then invoke pure ML-DSA on that digest. An implementation using the equivalent external-mu interface described in Appendix D of RFC 9881 MUST produce and verify exactly the same pure-mode signature semantics, including the empty context.

4.2. SLH-DSA

SLH-DSA is specified in [FIPS205]. The pure-mode identifiers, key encodings, and signature encodings are specified in [RFC9909]. Any of the twelve pure SLH-DSA parameter sets MAY be used for CMP signatures when explicitly permitted by authorized policy. Support for SLH-DSA is optional and does not replace the ML-DSA-65 implementation requirement of the base profile.

The signature AlgorithmIdentifier MUST identify the actual pure SLH-DSA parameter set and have absent parameters. CMP signatures under this document MUST use an empty context string. HashSLH-DSA, although specified for PKIX in RFC 9909, is outside the CMP message-signature and POP conventions defined here.

Implementations MUST NOT infer support for a pure-mode signature identifier from support for a pre-hash identifier, or the reverse. They also MUST NOT substitute another parameter set with a similar name. Operators need to account for the substantial differences in signature size and execution cost between SLH-DSA parameter sets.

4.3. CMP Message Protection and Signing-Key POP

For signature-based CMP message protection, the input to pure ML-DSA or pure SLH-DSA MUST be DER(ProtectedPart), as specified in Section 5.1.3 of [RFC9810]. The signature AlgorithmIdentifier is carried in PKIHeader.protectionAlg. The raw signature octets MUST be placed directly in PKIMessage.protection, with no additional OCTET STRING or SEQUENCE wrapper.

For signing-key POP, the input MUST be the DER encoding selected by the POPOSigningKey rules of Section 4.1 of CRMF [RFC4211] and Section 5.2.8.2 of RFC 9810. For the ordinary CertTemplate case, this is CertRequest or POPOSigningKeyInput, as those rules require. An implementation supporting alternative templates MUST also follow RFC 9810's corresponding AltCertTemplate input rules. The raw signature MUST be encoded directly in POPOSigningKey.signature using the matching algorithm identifier and empty signature context.

The protection key authenticating a management operation and the newly generated key for which POP is provided are separate roles. Successful message protection MUST NOT be treated as POP for a different requested key. An RA asserting that it verified POP remains subject to the existing CMP and CRMF authorization requirements; this document grants no additional authority to make that assertion.

4.4. CMS Signatures in CMP

When CMS SignedData is used within CMP, including a signed private-key package, ML-DSA MUST follow [RFC9882] and pure SLH-DSA MUST follow [RFC9814]. The CMP ProtectedPart convention is not a replacement for the CMS signed-content and signed-attribute conventions.

The base profile uses ML-DSA-65 and SHA-512 for CMS SignedData. A sender in this profile MUST include signed attributes, including at least content-type and message-digest, and MUST follow the algorithm-protection requirements of [RFC8933]. The message-digest is a SHA-512 digest of the CMS content. The pure ML-DSA signature is computed over the DER encoding of SignedAttrs as specified in RFC 9882, using the SET OF tag required by CMS. It is not a HashML-DSA signature over the message-digest attribute value.

For other permitted ML-DSA or pure SLH-DSA parameter sets, the CMS digest algorithm MUST satisfy the corresponding algorithm specification. CMS signer authorization, certificate validation, and validation of all required signed attributes MUST be performed before a delivered private key is accepted.

5. Certificate-Confirmation Hash Mapping

Section 5.3.18 of [RFC9810] permits a hash algorithm to be specified for hashing certificates signed with a particular signature algorithm. Pure ML-DSA and pure SLH-DSA do not expose a unique external message-digest algorithm through their signature identifiers. This section supplies a mapping for the algorithms covered by this document.

For a certificate whose outer signatureAlgorithm identifies any of ML-DSA-44, ML-DSA-65, ML-DSA-87, or any of the twelve pure SLH-DSA parameter sets in RFC 9909, the certConf certHash MUST be calculated as:

certHash = SHA-512(DER(Certificate))

The input is the complete certificate, including its signatureAlgorithm and signatureValue. It is not just TBSCertificate, SubjectPublicKeyInfo, or the public key. The resulting certHash has 64 octets. The choice depends on the certificate's signature algorithm, not on its subject-public-key algorithm or the protection algorithm of the certConf message. For example, an ML-KEM certificate signed with ML-DSA-65 uses this mapping.

When this mapping applies, the sender SHOULD omit CertStatus.hashAlg, since the hash is specified by this document. If hashAlg is present, it MUST identify SHA-512. Receivers conforming to this profile MUST support both an absent hashAlg and an explicit SHA-512 hashAlg. Generation and acceptance of SHA-512 AlgorithmIdentifier parameters MUST follow [RFC5754]: senders omit parameters and receivers accept absent or NULL parameters.

This mapping does not apply to HashSLH-DSA or other signature algorithms. For a certificate signed with an algorithm outside the mapping, the hash selection and any explicit hashAlg MUST follow Section 5.3.18 of RFC 9810 and the applicable algorithm specification. An implementation MUST NOT guess a hash from the subject key, trial several hashes until one matches, or silently accept a different certHash length.

A certConf sender MUST calculate certHash over the certificate it actually accepts. The usual checks of certReqId, transaction state, certificate contents, and message protection remain required. A correct certHash alone does not establish acceptance of the requested subject name, key, extensions, or policy.

6. ML-KEM for Encrypted Delivery and POP

6.1. ML-KEM Keys and Algorithm Identifiers

ML-KEM is specified in [FIPS203]. ML-KEM-512, ML-KEM-768, and ML-KEM-1024 MAY be used in the CMP KEM mechanisms described in this document when permitted by authorized policy. The base profile requires ML-KEM-768.

Public-key, private-key, and certificate encodings MUST follow [RFC9935]. An ML-KEM AlgorithmIdentifier MUST use the identifier of the actual parameter set with absent parameters. If a keyUsage extension is present in an ML-KEM certificate, keyEncipherment MUST be the only key-usage bit set, as required by RFC 9935. The use of KEM-based message protection does not change this requirement to digitalSignature or keyAgreement.

When a recipient certificate is already available, its certification path, validity, applicable constraints, and authorization for the intended operation MUST be validated under [RFC5280] and RFC 9810. When encrypting a newly issued certificate to the very key whose POP is being established, the request and response processing rules of RFC 9810 apply instead; possession of an already validated certificate for that new key is not a prerequisite.

6.2. CMS KEMRecipientInfo

For encrypted delivery using ML-KEM, implementations MUST use the OtherRecipientInfo alternative containing KEMRecipientInfo as specified in [RFC9629] and [RFC9936]. They MUST NOT put an ML-KEM ciphertext into KeyTransRecipientInfo or KeyAgreeRecipientInfo.

For the base profile, the fields are:

Table 1: Base Profile KEMRecipientInfo Values
Field Required value or rule
version 0
rid The CMS recipient identifier, populated as required by RFC 9629 and RFC 9810
kem id-alg-ml-kem-768; parameters absent
kemct A fresh ML-KEM-768 ciphertext, 1088 octets
kdf id-alg-hkdf-with-sha256; parameters absent
kekLength 32 octets
ukm Absent
wrap id-aes256-wrap; parameters absent
encryptedKey The result of wrapping the newly generated CEK

The KDF identifier is from [RFC8619]. HKDF processing MUST follow [RFC5869] and Section 2.2.1 of RFC 9936: IKM is the ML-KEM shared secret, salt is unused (the empty string), L is 32, and info is DER(CMSORIforKEMOtherInfo). AES key wrapping MUST follow [RFC3394] and [RFC3565].

The following relationships describe these existing mechanisms; they do not define an additional KDF:

ML-KEM.Encaps(recipientPublicKey) -> (ss, ct)

info = DER(CMSORIforKEMOtherInfo {
    wrap = id-aes256-wrap, kekLength = 32, ukm = absent })
KEK = HKDF-Expand(HKDF-Extract(empty, ss), info, 32)
CEK = newly generated 32-octet content-encryption key
encryptedKey = AES-256-Key-Wrap(KEK, CEK)

The Encaps notation above follows FIPS 203's order of shared secret and ciphertext; API argument and return ordering is implementation specific. An implementation MUST identify these values by their meaning rather than assuming that every library uses the same tuple ordering.

The secure use of ML-KEM does not require ukm. Its omission here selects a common interoperable configuration and does not prohibit other deployments from using ukm under RFC 9629. The base profile MUST NOT carry a secret PSK in this publicly transmitted field.

6.3. Encrypted Containers and Content Encryption

Encrypted certificates, private-key packages, and other encrypted values MUST use the EnvelopedData placements specified in Section 5.2.2 of [RFC9810]. For these uses, the base profile MUST contain exactly one RecipientInfo, carrying the ML-KEM KEMRecipientInfo described above. EncryptedValue MUST NOT be used in an operation conforming to this profile.

The base profile uses AES-256-CBC, already described in RFC 9481, for content encryption. Its AlgorithmIdentifier is id-aes256-CBC, with a freshly and unpredictably generated 16-octet IV encoded as the AES-IV OCTET STRING specified in [RFC3565]. The CEK MUST be freshly generated for each encrypted container. CMS content padding MUST follow [RFC5652].

AES-CBC does not authenticate ciphertext. Before decrypting an encrypted value or reporting any decryption-dependent result, a recipient MUST authenticate and authorize the enclosing CMP message and check the transaction binding and the permitted algorithm combination. When an RA terminates and regenerates protection, this requirement applies to each protected hop and the RA is part of the confidentiality and integrity trust boundary.

The EnvelopedData structure in the existing CMP placements is not an AuthEnvelopedData structure. This document does not substitute AuthEnvelopedData at those ASN.1 locations or place an AES-GCM tag in an unspecified field. Alternative content-encryption conventions, including the algorithm-binding mechanism of [RFC9709], require a separately agreed configuration and are outside the base profile.

If a receiving entity cannot authenticate the enclosing message using independently authorized credentials before decryption, it MUST NOT use this encrypted-delivery configuration. It MUST NOT break that dependency by accepting an unauthenticated plaintext certificate as a new trust anchor.

6.4. Proof of Possession for ML-KEM Keys

An ML-KEM key cannot produce a digital signature. Its POP MUST follow the KEM-key mechanisms of Section 4.3.4 of [RFC9810]. The common POP method for the base profile is encrypted-certificate confirmation, using keyEncipherment in ProofOfPossession, subsequentMessage in POPOPrivKey, and the encrCert value. Implementations enrolling or issuing ML-KEM certificates under the base profile MUST support this method.

The CA encrypts the issued certificate to the requested ML-KEM public key using Section 6.2 and Section 6.3. The EE decapsulates, unwraps the CEK, decrypts the certificate, validates the certificate against its request and issuance policy, and sends a protected certConf containing the certificate hash selected by Section 5.

When certConf serves as POP, implicit confirmation MUST NOT be requested or granted. The CA MUST NOT publish or otherwise disclose the complete issued certificate before successful POP confirmation, including through a repository, a certificate-transparency submission, or an unencrypted response. The CA MUST apply the non-disclosure and POP security requirements of Sections 5.2.8.3.2 and 8.11 of RFC 9810.

Since rid can refer to the certificate that is still encrypted, the EE MUST retain the transactionID and certReqId association with its requested key. Selection of that key for decryption MUST follow RFC 9810; a missing plaintext copy of the issued certificate is not grounds to omit POP.

The direct challenge-response and private-key-archival alternatives remain available under RFC 9810 when explicitly configured. They are not mandatory features of the base profile. A deployment MUST NOT select private-key disclosure or archival merely as a shortcut around implementing KEM POP.

6.5. Centrally Generated Private Keys

Central key generation is optional. An implementation supporting it under this profile MUST follow the signed and encrypted private-key delivery rules of RFC 9810. Private keys MUST be encoded in AsymmetricKeyPackage as specified in [RFC5958] and the relevant algorithm specification. The package MUST be signed by an authorized KGA using the CMS conventions of Section 4.4 and encrypted as described in Section 6.2 and Section 6.3.

The KGA's signing certificate and authorization MUST be checked as required by RFC 9810, including the applicable id-kp-cmKGA extended-key-usage requirements. The recipient's KEM delivery key MUST already be authenticated and authorized; the new private key being delivered cannot supply the only credential needed to decrypt its own delivery.

A recipient MUST check that the delivered private key corresponds to the certified public key before installing it. Seeds and expanded private keys MUST be interpreted according to the applicable algorithm encoding; arbitrary seed octets MUST NOT be treated as a generic expanded private key.

7. ML-KEM-Based CMP Message Protection

KEM-based message protection is an optional feature of this profile. An implementation claiming this feature MUST implement id-KemBasedMac and KemBMParameter from Section 5.1.3.4 of [RFC9810], using ML-KEM-768 and the following parameters:

Table 2: Base Profile KemBMParameter Values
Field Required value
kdf id-alg-hkdf-with-sha256; parameters absent
kemContext Absent
len 32 octets
mac id-hmacWithSHA256

HMAC MUST follow [RFC4231]. For generation, the HMAC AlgorithmIdentifier parameters MUST be NULL. Receivers MUST accept NULL or absent HMAC parameters. This parameter rule does not relax the absent-parameters requirements for ML-KEM or HKDF. The full, untruncated 32-octet HMAC value MUST be encoded directly in PKIMessage.protection.

The KEM ciphertext MUST be carried using the existing KemCiphertextInfo mechanism. As in RFC 9810, IKM is the KEM shared secret, L is len, and info is the DER-encoded KemOtherInfo containing the PKIFreeText value with the single string CMP-KEM and the transactionID from the message containing the KEM ciphertext. kemContext MUST be absent in this base configuration.

info = DER(KemOtherInfo {
    staticString = { "CMP-KEM" },
    transactionID = transactionID_of_ciphertext_message,
    kemContext = absent })
ssk = HKDF-Expand(HKDF-Extract(empty, ss), info, 32)
protection = HMAC-SHA-256(ssk, DER(ProtectedPart))

Both peers MUST use the same zero-length HKDF salt and the exact RFC 9810 context encoding. CMSORIforKEMOtherInfo MUST NOT be substituted for KemOtherInfo. The resulting key MUST NOT be used as a CEK, a KEK, or an application key.

A fresh encapsulation MUST be performed for each management operation, as required by Section 8.8 of RFC 9810. The same shared secret and ciphertext MUST NOT be reused for another operation, for CMS encrypted delivery, or to establish protection in the opposite direction. When both peers use KEM credentials, the directional exchanges MUST follow Appendix E of RFC 9810.

The identity being authenticated is the authorized holder of the KEM private key, demonstrated to the entity that performed the encapsulation. Anyone with a public KEM key can encapsulate to it; that act does not by itself authenticate the encapsulator. Implementations MUST NOT treat a KEM-MAC exchange as mutual identity authentication without satisfying the separate directional authentication requirements. A KEM-MAC is a shared-secret authenticator, not a publicly verifiable digital signature.

This profile does not modify the preliminary message flows of RFC 9810. Any preliminary unprotected message MUST NOT authorize issuance, policy changes, trust-anchor installation, or private-key delivery. Implementations MUST bind subsequent protected messages to the expected peer and operation and enforce the authentication requirements before acting on them.

8. Algorithm Profile and Conformance

8.1. Base Profile

Support for this profile is explicitly selected by authorized policy. It is not implied by support for CMP, RFC 9481, or an individual post-quantum algorithm. The following table specifies the common algorithm choices.

Table 3: Post-Quantum CMP Base Profile
Purpose Algorithm or choice
CMP signature protection and signing-key POP ML-DSA-65, pure mode, empty context
CMS package signature ML-DSA-65 with SHA-512 signed attributes
certConf for signatures covered by the mapping SHA-512 over the complete DER certificate
KEM encrypted delivery and KEM POP ML-KEM-768
CMS KEM KDF and KEK HKDF-SHA-256, 32-octet KEK
CMS key wrap AES-256 Key Wrap
CMS content encryption AES-256-CBC with fresh CEK and IV, inside authenticated CMP protection
Optional KEM-MAC feature ML-KEM-768, HKDF-SHA-256, 32-octet key, HMAC-SHA-256

An implementation claiming the base profile MUST support ML-DSA-65 signature protection in its send and receive roles, and the certificate-confirmation mapping. It MUST be able to validate the ML-DSA-65 certificate signatures needed for its configured trust paths. A signature-only implementation is not thereby required to implement optional central key generation or KEM-MAC.

For an implementation claiming this opt-in profile, the corresponding mandatory algorithm choices of Section 7.1 of RFC 9481 are replaced by this section's requirements for profile operations. Such an implementation need not implement RSA or DH merely to claim this profile. If it also claims conformance to the legacy profile of Section 7.1 of RFC 9481, it MUST separately satisfy that profile's implementation requirements.

An implementation supporting encrypted delivery MUST implement the base profile KEM, KDF, wrapping, and content-encryption choices for its originator or recipient role. An implementation enrolling or issuing ML-KEM certificates MUST implement the encrypted-certificate POP method in Section 6.4. An implementation delivering or receiving centrally generated private keys MUST implement Section 6.5. An implementation claiming the KEM-MAC feature MUST implement Section 7.

A conformance statement MUST identify the supported operations and roles, including whether encrypted delivery, ML-KEM certificate enrollment, central key generation, or KEM-MAC is supported. It MUST NOT imply support for every CMP operation merely by claiming support for this algorithm profile.

8.2. Additional Algorithms and Parameter Sets

Implementations MAY support additional parameter sets permitted in Section 4 and Section 6. Their use requires authorized policy shared by the peers. Optional support for another parameter set does not remove the base profile implementation requirements.

For CMS ML-KEM-512, ML-KEM-768, and ML-KEM-1024, KDF support, minimum component strengths, and wrapping-algorithm support MUST follow RFC 9936. An implementation using ML-KEM-1024 with a different KDF still MUST support the HKDF-SHA-256 option required by that RFC. Algorithms, output lengths, and parameter encodings MUST be configured as a complete combination rather than inferred from a KEM parameter-set number.

The optional ML-DSA-87 and ML-KEM-1024 parameter sets do not establish a second implicit suite. In particular, their use does not silently change the CMS digest, certConf mapping, KEM-MAC output length, or permitted content-encryption algorithm. A deployment that needs a distinct combination has to specify each choice and its applicable requirements.

The choices in this document are not a claim that every component has the same NIST security category or that a particular end-to-end quantum security level follows from a single parameter-set label. Authentication, KEM security, hash properties, and symmetric confidentiality need separate assessment.

8.3. Policy, Capabilities, and Downgrade Handling

The base profile name is not a new value of certProfile, an InfoTypeAndValue, or an IANA registry entry. This document defines no profile-negotiation message. Peers MUST obtain the required algorithm combination and security policy from authorized configuration. Existing CMP capability messages MAY be used within their defined semantics, but an unauthenticated capability response MUST NOT override that policy.

If policy requires this profile and the peer cannot support the required version or algorithm combination, the operation MUST fail. Timeout, badAlg, unsupportedVersion, or an authentication failure MUST NOT cause automatic fallback to RSA, ECDSA, EdDSA, DH, ECDH, password protection, or another unapproved configuration.

A separately authorized legacy enrollment procedure can remain available for migration, but it is a different policy decision and does not conform to this profile. Merely issuing a post-quantum subject key under a classical signature does not make that certificate path post-quantum authenticated. Likewise, enrolling a PQ key over a classically protected management operation does not provide the management operation with post-quantum authentication.

For an operation required to provide post-quantum authentication, all certificate signatures and revocation evidence relied on for that authentication, and every RA protection boundary on the relevant path, MUST satisfy the configured post-quantum policy or an independently authorized trust mechanism. Receiving caPubs or extraCerts MUST NOT promote an otherwise untrusted certificate into a trust anchor.

9. Processing and Failure Handling

Implementations MUST retain the CMP state, nonce, message-type, and certificate-request checks required by RFC 9810. In this profile, the initiating client MUST supply a fresh transactionID with at least 128 bits of randomness. Protected messages MUST include a fresh senderNonce with at least 128 bits of randomness, and recipNonce where required by the applicable CMP flow. Responders MUST preserve and validate the transaction association and nonce linkage.

Before an expensive operation, an implementation SHOULD perform bounded syntax, length, and algorithm-policy checks. ML-KEM-768 public keys have 1184 octets and ciphertexts have 1088 octets. ML-DSA-65 public keys have 1952 octets and signatures have 3309 octets. These are raw algorithm values; ASN.1 containers, certificates, and CMP headers require additional space.

Algorithm-required key and ciphertext validation MUST be performed. ML-KEM implicit rejection MUST NOT be replaced with a diagnostic that reveals whether an otherwise well-formed ciphertext failed the internal re-encryption check. A derived key or tentative plaintext MUST NOT be accepted until all applicable MAC, wrapping, outer message-protection, and content checks succeed.

Where an authenticated CMP error response is permitted, implementations MUST use the failure information defined by RFC 9810. An unsupported algorithm can be reported as badAlg, and an unsupported version as unsupportedVersion. For the decapsulation-error case in KEM-based protection, the badMessageCheck and termination requirements of Section 5.1.3.4 of RFC 9810 apply. This document defines no new failure bit.

Externally observable failure behavior MUST NOT distinguish secret-dependent decapsulation, key-unwrapping, or padding failures in a way that creates an oracle. Local diagnostic logs MAY distinguish implementation stages for authorized operators, but MUST NOT contain private keys, seeds, KEM shared secrets, derived keys, or recovered private-key packages.

An operation that fails algorithm-policy, authentication, authorization, POP, or certificate-validation checks MUST NOT install a key, accept a certificate, or install new trust-anchor material. Implementations MUST release transaction resources and erase transient secret material when it is no longer needed, including on an aborted operation.

10. Updates to RFC 9481

This document makes the following additive updates to [RFC9481]:

  1. Section 3 is augmented with the ML-DSA and pure SLH-DSA signature conventions in Section 4. For certificates signed with the algorithms listed in Section 5, SHA-512 is specified as the certificate hash for certConf under the rules of RFC 9810.

  2. Section 4 is augmented with ML-KEM key-management conventions for the existing CMP and CMS mechanisms, as specified in Section 6. HKDF with the identifiers of RFC 8619 is used with the precise input conventions specified in this document and the cited mechanism specifications.

  3. Section 6 is augmented with the concrete ML-KEM, HKDF, and HMAC combination for the id-KemBasedMac mechanism, as specified in Section 7.

  4. Section 7 is augmented with the opt-in algorithm profile and conditional implementation requirements in Section 8. For operations under this profile, the corresponding mandatory algorithm choices in Section 7.1 are replaced by Section 8.1. The mandatory and optional algorithm requirements of Sections 7.1 and 7.2 of RFC 9481 for implementations outside this profile are not changed.

  5. Section 9 is supplemented by the security considerations in Section 11.

The SHA-512, AES-256 Key Wrap, AES-256-CBC, and HMAC-SHA-256 primitives already described in RFC 9481 are reused. This document does not obsolete RFC 9481, change the CMP message grammar, update RFC 9483 procedures, or register a new algorithm identifier.

11. Security Considerations

The security considerations of RFC 9481, RFC 9810, and the referenced algorithm and container specifications apply. This document selects algorithms at existing protocol interfaces; it does not establish a new cryptographic security proof for CMP or for a complete deployment.

11.1. Authentication, Authorization, and Trust Paths

A post-quantum certificate request does not protect the channel on which it is submitted. A classical credential used to authorize a new PQ credential remains part of the migration trust assumption. Operators need to distinguish a migration step that is acceptable before a relevant quantum threat from an operation intended to resist an active quantum-capable adversary.

The certificate path, authorized trust anchors, revocation or status evidence, RA and KGA credentials, and administrative provisioning can each limit authentication. A post-quantum subject public key does not compensate for a forgeable issuer signature. A self-signature on a received root certificate does not authenticate the decision to trust it.

POP establishes access to the requested private key under the specified method; it does not establish subject identity, device ownership, suitability for issuance, or authorization to receive another entity's key. The policy and role checks of RFC 9810 remain essential.

11.2. Confidentiality and Recorded Traffic

ML-DSA and SLH-DSA signatures provide no confidentiality. Sensitive material encrypted only by a classical key-establishment mechanism can remain vulnerable to an adversary that records traffic and later obtains quantum capability. The algorithms of the actual encrypted-delivery path, including every terminating RA, determine that exposure.

Static-recipient ML-KEM encrypted delivery does not provide forward secrecy against later compromise of the recipient's decapsulation key. Recorded ciphertext can be processed after such a compromise. Long-term key protection, lifetime, revocation, and destruction remain necessary even when the KEM is quantum resistant.

For the base profile's CBC containers, verified and authorized outer CMP protection is a prerequisite to decryption. Code paths that process a detached encrypted container, expose unauthenticated padding results, or accept an alternative algorithm combination before checking policy can violate that assumption. The use of a signed private-key package adds KGA origin authentication but does not replace the outer-message checks.

11.3. KEM Authentication and Encrypted-Certificate POP

KEM encapsulation alone does not authenticate its originator. KEM-based message protection has the directional authentication semantics described in Section 7 and RFC 9810. Reusing a shared secret in an unintended direction or across operations can confuse identity and transaction bindings.

Encrypted-certificate POP depends on withholding the complete certificate until POP succeeds. Disclosure through an alternate protocol, log, repository, audit artifact, or second response can allow an entity to compute certHash without decapsulating. Implementations need to enforce this dependency across the entire issuance system, not only within the CMP encoder.

A KEM POP value and a KEM-MAC value are not interchangeable. Likewise, the CMS key derivation context and the CMP KEM-MAC context are different structures. The separate context and key-use rules in this document prevent implementations from treating a generic KEM shared secret as an application key.

11.4. Implementation and Resource Protection

Implementations need cryptographically secure randomness for key generation, encapsulation, CEKs, IVs, nonces, and transaction identifiers. Algorithm-required checks, side-channel protections, and correct handling of implicit rejection remain necessary. Expanding a seed with an ad hoc derivation or reusing deterministic test material in production can defeat the intended properties.

Post-quantum keys, signatures, chains, and CMP messages can be much larger than their classical counterparts. Implementations SHOULD apply configurable limits on message size, ASN.1 nesting, chain length, concurrent transactions, outstanding POP challenges, and cryptographic work. These limits MUST permit the algorithms and operations the implementation claims to support. This document does not assume that 4 KiB message buffers are sufficient.

For CMP over HTTP, transport behavior remains governed by [RFC9811]. Retransmission and polling MUST retain the original CMP transaction semantics and MUST NOT become an algorithm-downgrade mechanism. A transport's confidentiality or authentication properties are separate from those of the CMP profile.

12. IANA Considerations

This document has no IANA actions. All algorithm identifiers and CMP structures are defined in the referenced specifications. The descriptive base profile name is not an assigned protocol identifier.

13. References

13.1. Normative References

[FIPS203]
National Institute of Standards and Technology, "Module-Lattice-Based Key-Encapsulation Mechanism Standard", FIPS 203, DOI 10.6028/NIST.FIPS.203, , <https://csrc.nist.gov/pubs/fips/203/final>.
[FIPS204]
National Institute of Standards and Technology, "Module-Lattice-Based Digital Signature Standard", FIPS 204, DOI 10.6028/NIST.FIPS.204, , <https://csrc.nist.gov/pubs/fips/204/final>.
[FIPS205]
National Institute of Standards and Technology, "Stateless Hash-Based Digital Signature Standard", FIPS 205, DOI 10.6028/NIST.FIPS.205, , <https://csrc.nist.gov/pubs/fips/205/final>.
[RFC2119]
Bradner, S., "Key words for use in RFCs to Indicate Requirement Levels", BCP 14, RFC 2119, DOI 10.17487/RFC2119, , <https://www.rfc-editor.org/info/rfc2119>.
[RFC3394]
Schaad, J. and R. Housley, "Advanced Encryption Standard (AES) Key Wrap Algorithm", RFC 3394, DOI 10.17487/RFC3394, , <https://www.rfc-editor.org/info/rfc3394>.
[RFC3565]
Schaad, J., "Use of the Advanced Encryption Standard (AES) Encryption Algorithm in Cryptographic Message Syntax (CMS)", RFC 3565, DOI 10.17487/RFC3565, , <https://www.rfc-editor.org/info/rfc3565>.
[RFC4211]
Schaad, J., "Internet X.509 Public Key Infrastructure Certificate Request Message Format (CRMF)", RFC 4211, DOI 10.17487/RFC4211, , <https://www.rfc-editor.org/info/rfc4211>.
[RFC4231]
Nystrom, M., "Identifiers and Test Vectors for HMAC-SHA-224, HMAC-SHA-256, HMAC-SHA-384, and HMAC-SHA-512", RFC 4231, DOI 10.17487/RFC4231, , <https://www.rfc-editor.org/info/rfc4231>.
[RFC5280]
Cooper, D., Santesson, S., Farrell, S., Boeyen, S., Housley, R., and W. Polk, "Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile", RFC 5280, DOI 10.17487/RFC5280, , <https://www.rfc-editor.org/info/rfc5280>.
[RFC5652]
Housley, R., "Cryptographic Message Syntax (CMS)", STD 70, RFC 5652, DOI 10.17487/RFC5652, , <https://www.rfc-editor.org/info/rfc5652>.
[RFC5754]
Turner, S., "Using SHA2 Algorithms with Cryptographic Message Syntax", RFC 5754, DOI 10.17487/RFC5754, , <https://www.rfc-editor.org/info/rfc5754>.
[RFC5869]
Krawczyk, H. and P. Eronen, "HMAC-based Extract-and-Expand Key Derivation Function (HKDF)", RFC 5869, DOI 10.17487/RFC5869, , <https://www.rfc-editor.org/info/rfc5869>.
[RFC5958]
Turner, S., "Asymmetric Key Packages", RFC 5958, DOI 10.17487/RFC5958, , <https://www.rfc-editor.org/info/rfc5958>.
[RFC8174]
Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words", BCP 14, RFC 8174, DOI 10.17487/RFC8174, , <https://www.rfc-editor.org/info/rfc8174>.
[RFC8619]
Housley, R., "Algorithm Identifiers for the HMAC-based Extract-and-Expand Key Derivation Function (HKDF)", RFC 8619, DOI 10.17487/RFC8619, , <https://www.rfc-editor.org/info/rfc8619>.
[RFC8933]
Housley, R., "Update to the Cryptographic Message Syntax (CMS) for Algorithm Identifier Protection", RFC 8933, DOI 10.17487/RFC8933, , <https://www.rfc-editor.org/info/rfc8933>.
[RFC9481]
Brockhaus, H., Aschauer, H., Ounsworth, M., and J. Gray, "Certificate Management Protocol (CMP) Algorithms", RFC 9481, DOI 10.17487/RFC9481, , <https://www.rfc-editor.org/info/rfc9481>.
[RFC9629]
Housley, R., Gray, J., and T. Okubo, "Using Key Encapsulation Mechanism (KEM) Algorithms in the Cryptographic Message Syntax (CMS)", RFC 9629, DOI 10.17487/RFC9629, , <https://www.rfc-editor.org/info/rfc9629>.
[RFC9810]
Brockhaus, H., von Oheimb, D., Ounsworth, M., and J. Gray, "Internet X.509 Public Key Infrastructure -- Certificate Management Protocol (CMP)", RFC 9810, DOI 10.17487/RFC9810, , <https://www.rfc-editor.org/info/rfc9810>.
[RFC9814]
Housley, R., Fluhrer, S., Kampanakis, P., and B. Westerbaan, "Use of the SLH-DSA Signature Algorithm in the Cryptographic Message Syntax (CMS)", RFC 9814, DOI 10.17487/RFC9814, , <https://www.rfc-editor.org/info/rfc9814>.
[RFC9881]
Massimo, J., Kampanakis, P., Turner, S., and B. E. Westerbaan, "Internet X.509 Public Key Infrastructure -- Algorithm Identifiers for the Module-Lattice-Based Digital Signature Algorithm (ML-DSA)", RFC 9881, DOI 10.17487/RFC9881, , <https://www.rfc-editor.org/info/rfc9881>.
[RFC9882]
Salter, B., Raine, A., and D. Van Geest, "Use of the ML-DSA Signature Algorithm in the Cryptographic Message Syntax (CMS)", RFC 9882, DOI 10.17487/RFC9882, , <https://www.rfc-editor.org/info/rfc9882>.
[RFC9909]
Bashiri, K., Fluhrer, S., Gazdag, S., Van Geest, D., and S. Kousidis, "Internet X.509 Public Key Infrastructure -- Algorithm Identifiers for the Stateless Hash-Based Digital Signature Algorithm (SLH-DSA)", RFC 9909, DOI 10.17487/RFC9909, , <https://www.rfc-editor.org/info/rfc9909>.
[RFC9935]
Turner, S., Kampanakis, P., Massimo, J., and B. E. Westerbaan, "Internet X.509 Public Key Infrastructure - Algorithm Identifiers for the Module-Lattice-Based Key-Encapsulation Mechanism (ML-KEM)", RFC 9935, DOI 10.17487/RFC9935, , <https://www.rfc-editor.org/info/rfc9935>.
[RFC9936]
Prat, J., Ounsworth, M., and D. Van Geest, "Use of ML-KEM in the Cryptographic Message Syntax (CMS)", RFC 9936, DOI 10.17487/RFC9936, , <https://www.rfc-editor.org/info/rfc9936>.

13.2. Informative References

[RFC9483]
Brockhaus, H., von Oheimb, D., and S. Fries, "Lightweight Certificate Management Protocol (CMP) Profile", RFC 9483, DOI 10.17487/RFC9483, , <https://www.rfc-editor.org/info/rfc9483>.
[RFC9709]
Housley, R., "Encryption Key Derivation in the Cryptographic Message Syntax (CMS) Using HKDF with SHA-256", RFC 9709, DOI 10.17487/RFC9709, , <https://www.rfc-editor.org/info/rfc9709>.
[RFC9811]
Brockhaus, H., von Oheimb, D., Ounsworth, M., and J. Gray, "Internet X.509 Public Key Infrastructure -- HTTP Transfer for the Certificate Management Protocol (CMP)", RFC 9811, DOI 10.17487/RFC9811, , <https://www.rfc-editor.org/info/rfc9811>.
[RFC10073]
Ounsworth, M., Gray, J., Pala, M., Klaußner, J., and S. Fluhrer, "Composite Module-Lattice-Based Digital Signature Algorithm (ML-DSA) for Use in X.509 Public Key Infrastructure", RFC 10073, DOI 10.17487/RFC10073, , <https://www.rfc-editor.org/info/rfc10073>.
[RFC10082]
Ounsworth, M., Gray, J., Klaußner, J., and D. Van Geest, "Composite Module-Lattice-Based Digital Signature Algorithm (ML-DSA) for Use in the Cryptographic Message Syntax (CMS)", RFC 10082, DOI 10.17487/RFC10082, , <https://www.rfc-editor.org/info/rfc10082>.

Appendix A. Illustrative Enrollment Flows

The following flows illustrate existing CMP exchanges using this profile. They are not new protocol messages or cryptographic test vectors. They assume independently provisioned credentials and an authorized certificate policy. Polling and RA forwarding are omitted.

A.1. Locally Generated ML-DSA Signing Key

EE                                                RA/CA
 |                                                  |
 | Generate a new ML-DSA-65 key pair                  |
 | ir/cr: CRMF request with ML-DSA-65 signing POP      |
 |   pvno = 3; protection = authorized ML-DSA-65      |
 |------------------------------------------------->|
 |                   Authenticate and authorize EE;  |
 |                   verify POP; issue certificate   |
 | ip/cp: certificate, signed using ML-DSA-65         |
 |   response protection = authorized ML-DSA-65       |
 |<-------------------------------------------------|
 | Verify response and certificate; match request    |
 | certConf: SHA-512(DER(issued certificate))         |
 |   hashAlg omitted; protected using ML-DSA-65       |
 |------------------------------------------------->|
 | pkiconf: protected using ML-DSA-65                 |
 |<-------------------------------------------------|

The credential protecting the initial request is an existing authorized credential. It need not be the newly generated key. This flow does not assume that an unissued key authenticates its own enrollment identity.

A.2. Locally Generated ML-KEM Key with Encrypted-Certificate POP

EE                                                RA/CA
 |                                                  |
 | Generate a new ML-KEM-768 key pair                 |
 | ir/cr: requested ML-KEM public key;                |
 |   keyEncipherment -> subsequentMessage: encrCert   |
 |   pvno = 3; protection = authorized ML-DSA-65      |
 |------------------------------------------------->|
 |                   Authenticate and authorize EE;  |
 |                   create but withhold certificate|
 |                   encapsulate to requested key   |
 | ip/cp: encrypted certificate in EnvelopedData     |
 |   KEMRecipientInfo; AES-256 Key Wrap; AES-256-CBC   |
 |   response protection = authorized ML-DSA-65       |
 |<-------------------------------------------------|
 | Verify response; decapsulate and decrypt;         |
 | validate certificate against requested key/policy |
 | certConf: SHA-512(DER(issued certificate))         |
 |   protected using existing ML-DSA-65 credential    |
 |------------------------------------------------->|
 |                   Verify confirmation and POP;    |
 |                   permit certificate publication  |
 | pkiconf: protected using ML-DSA-65                 |
 |<-------------------------------------------------|

The SHA-512 mapping applies because the certificate is signed with ML-DSA-65. The subject key is ML-KEM-768 and cannot sign certConf. The EE therefore retains an independently authorized protection credential for this exchange.

Appendix B. Structural Encoding Examples

The hexadecimal values below are DER structural examples for the base profile. They contain no private key, signature, or KEM ciphertext and are not complete CMP test vectors. Whitespace in the displayed hexadecimal is not part of the encoding.

B.1. AlgorithmIdentifier Values

ML-DSA-65, parameters absent:
  30 0b 06 09 60 86 48 01 65 03 04 03 12

ML-KEM-768, parameters absent:
  30 0b 06 09 60 86 48 01 65 03 04 04 02

HKDF-SHA-256, parameters absent:
  30 0d 06 0b 2a 86 48 86 f7 0d 01 09 10 03 1c

HMAC-SHA-256, parameters NULL:
  30 0c 06 08 2a 86 48 86 f7 0d 02 09 05 00

SHA-512, parameters absent:
  30 0b 06 09 60 86 48 01 65 03 04 02 03

B.2. KemBMParameter and KemOtherInfo

The first value encodes HKDF-SHA-256, absent kemContext, len equal to 32, and HMAC-SHA-256 with NULL parameters. It is the parameters value of id-KemBasedMac, not a complete protectionAlg.

KemBMParameter:
  30 20
    30 0d 06 0b 2a 86 48 86 f7 0d 01 09 10 03 1c
    02 01 20
    30 0c 06 08 2a 86 48 86 f7 0d 02 09 05 00

KemOtherInfo, transactionID = 00 01 ... 0f:
  30 1d
    30 09 0c 07 43 4d 50 2d 4b 45 4d
    04 10 00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f

The sequential transactionID is only an encoding example. A live management operation requires the fresh random transactionID specified in Section 9.

Appendix C. Interoperability Evaluation

This appendix identifies evaluation cases for implementers; it does not report completed implementation testing. Algorithm-level and CMS examples in RFC 9881, RFC 9882, RFC 9935, and RFC 9936 can be reused where their parameter choices match. Complete CMP messages need their own independently generated signatures, state, and credentials.

Table 4: Suggested Interoperability Cases
Case Expected behavior
ML-DSA-65 enrollment with a separate protection credential Validate both the protection signature and signing-key POP, then confirm the issued certificate.
ML-KEM-768 encrypted-certificate POP Decrypt only after outer authentication; confirm before publication; reject implicit confirmation.
Mapped certificate with omitted hashAlg or explicit SHA-512 Use SHA-512 over the complete certificate in both cases.
ML-KEM subject certificate signed using another signature algorithm Select certHash by the issuer signature convention, not by ML-KEM.
NULL parameters for ML-DSA, SLH-DSA, ML-KEM, or HKDF Reject the invalid encoding; do not guess the intended algorithm.
Wrong signature context, extra pre-hash, or wrong POP input Fail verification; do not install the credential.
KEM-MAC with a mismatched transactionID or CMS KDF context Fail protection verification without accepting the operation.
Wrong KEM ciphertext size, failed unwrap, or invalid padding Reject without a secret-dependent diagnostic oracle.
Missing trust path or unauthorized KGA Reject even when the underlying signature is mathematically valid.
Peer requests classical fallback after a profile failure Fail the profile-required operation; do not silently weaken policy.
Large chains, forwarding RAs, and polling Preserve algorithm policy and transaction state within configured resource limits.

Authors' Addresses

Penghui Liu (editor)
Pengcheng Laboratory
No.2 Xingke 1 Street
Shenzhen
518055
China
Rongwei Yang (editor)
Pengcheng Laboratory
No.2 Xingke 1 Street
Shenzhen
518055
China
Xiang Liu (editor)
Pengcheng Laboratory
No.2 Xingke 1 Street
Shenzhen
518055
China
Yu Zhang (editor)
Pengcheng Laboratory
No.2 Xingke 1 Street
Shenzhen
518055
China
Weizhe Zhang (editor)
Pengcheng Laboratory
No.2 Xingke 1 Street
Shenzhen
518055
China