The certificate that lied by telling the truth
Every check passes. The path validates. The RSA modulus is the right size. The SubjectPublicKeyInfo wears the familiar rsaEncryption badge. A mail gateway or an archive system looks at all of it, nods, and decides RSA-KEM must be on the menu.
It isn't. RFC 9690 shuts the shortcut in a single sentence: use of rsaEncryption does not indicate that the recipient will accept RSA-KEM with the key.
That sentence is the operational centre of the whole specification, and it is a control problem wearing a cryptographic footnote as a disguise. A public key identifies material. It does not publish the current policy, the software path, the enabled content type, or the exact component combination the party on the other end will actually decapsulate.
RSA-KEM is not one switch. It is an RSA encapsulation, a KDF inside RSA-KEM, a second KDF at the CMS KEMRecipientInfo layer, a KEK length, a wrapping algorithm and a CMS content type. RFC 9690 sets a mandatory floor — KDF3 with SHA-256 and AES-Wrap-128 — and permits other components above it. So the phrase “supports RSA-KEM” quietly throws away the fields that decide whether two endpoints can actually meet.
Three ways a certificate can speak — and why they aren't the same
RFC 9690 gives the recipient several ways to represent intent. Their meanings are not interchangeable, and treating them as one is how interoperability dies.
First, silence. A certificate may use rsaEncryption. That preserves broad RSA compatibility and says nothing about RSA-KEM acceptance. The same key shape can sit behind a signer, an old key-transport implementation, or a system whose KEM path is switched off.
Second, a historical claim. Willingness may appear in an SMIMECapabilities attribute carried in CMS signed data under RFC 8551, or in the certificate extension defined by RFC 4262. That is positive evidence — but RFC 8551 describes a partial list, and a signed message from last quarter records what one implementation announced then. It is not a live health check, and it does not bind the announcement to today's endpoint configuration or organizational permission.
Third, a dedicated identity. A certificate intended only for RSA-KEM uses id-rsa-kem-spki. If its parameters are absent, KDF3 with SHA-256 is the default for deriving the RSA-KEM shared secret. If parameters are present, they must use GenericHybridParameters and constrain the KDF, KEK length and wrap algorithm permitted in the message. If keyUsage is present, it contains only keyEncipherment. Stronger intent evidence — still not an execution receipt.
The sender should preserve which of these three states it saw. Flattening all of them into a database boolean called rsaKem=true destroys the very distinction RFC 9690 went to the trouble of supplying.
One name, two KDF decisions
The processing chain hides two derivations under one friendly label. RSA-KEM encrypts a fresh random integer z with the recipient's RSA public key and derives a shared secret from z. CMS then feeds that shared secret, a requested length and otherInfo into the KEMRecipientInfo KDF to derive the key-encryption key. RFC 9690 explicitly says the two KDFs may differ.
So a capability receipt must not store one field named “KDF”. It needs at least the inner RSA-KEM KDF and hash, the CMS-layer KDF, the KEK length and the wrap algorithm. When GenericHybridParameters appear in a capability announcement or certificate, they constrain the values the originator must place into KEMRecipientInfo. The wrap value in the data-encapsulation component must appear in the wrap field; the KDF and key length must match their designated fields.
This is where syntactic interoperability and operational authority part company. A parser can recognise id-kem-rsa, accept a well-formed kemct and read encryptedKey. None of those facts proves the tuple was advertised by the intended recipient, remains enabled, conforms to local policy, or reaches the private key that matches the certificate.
Migration preserved compatibility, not one meaning
RFC 5990 placed RSA-KEM into KeyTransRecipientInfo and concatenated ciphertext and wrapped key as EK = C || WK. RFC 9690 uses the generic KEM structure from RFC 9629, putting the ciphertext in kemct and the wrapped key in encryptedKey. Backward-compatible processing remains possible, and the ASN.1 module can produce the same bits-on-wire for the old definitions.
Those facts do not create one processing contract. A system must retain whether it selected RFC 5990 key transport or RFC 9690 KEMRecipientInfo, which certificate identifier and parameters governed the key, and which capability evidence authorised that selection. “Same RSA operations” is not “same container, same negotiation or same failure surface.”
The split fields earn their keep because failure can be located precisely. An originator can show the recipient identifier, RSA ciphertext, CMS KDF tuple and wrapped content key. A recipient can separately report ciphertext length and range checks, private-key operation, shared-secret derivation, KEK derivation and unwrap result. One generic “decrypt failed” event is easier to collect and far less useful for deciding whether the error was stale capability, wrong key, unsupported tuple or damaged content.
A capability receipt that knows when it expires
A practical sender can keep the claim narrow:
- identify the exact certificate and validated path used for recipient selection;
- preserve the SubjectPublicKeyInfo identifier, parameter presence and exact bytes;
- record
keyUsageand distinguish broadrsaEncryptionfrom restrictedid-rsa-kem-spki; - retain the capability statement, signer, source message or extension, time and certificate binding;
- expand support into the inner KDF/hash, CMS KDF, KEK length, wrap algorithm and content type;
- choose RFC 5990 or RFC 9690 processing explicitly rather than by parser accident;
- record construction of
kemctandencryptedKeywithout calling that recipient success; - seek a recipient-side result for decapsulation, unwrap and content processing wherever the workflow can provide one;
- refresh the capability after certificate rotation, software change, policy change or a bounded age.
The receipt does not need to promise delivery. It needs to say exactly why the sender believed this combination was eligible — and when that belief expires.
What the cryptography cannot authorize
RSA-KEM has a strong reason to exist. RFC 9690 presents it as a replacement for the PKCS #1 v1.5 key-transport portion in new CMS applications, with a tighter security argument and cleaner separation between public-key and symmetric operations. RFC 8017 supplies the RSA representation, RFC 3394 supplies the mandatory AES wrapping floor, and RFC 4086 frames the need for strong randomness.
None of that converts a certificate into consent. A fresh z, valid RSA ciphertext and correctly derived keys establish bounded mathematical events. They do not prove the recipient still operates the key, accepts this sender, authorises this content, successfully processes the plaintext, or treats the result as a business decision. RFC 5280 can help validate certificate statements; it cannot observe a recipient application's current state.
Lu Heng's minimum-specification lens is useful here. A mandatory component floor makes interoperation possible without turning every optional combination into universal policy. His reality-layer lens keeps the certificate, capability statement, message structure, private computation and application decision in their proper places. Running-code primacy requires the last word to come from actual recipient processing — not from an identifier that merely made processing imaginable.
Sources
- RFC 9690 HTML
- RFC 9690 text
- RFC 9690 XML
- RFC 9690 information record
- RFC 9690 errata search
- RFC 9690 document history
- RFC 9629, KEM algorithms in CMS
- RFC 5990, earlier RSA-KEM key transport
- RFC 5652, Cryptographic Message Syntax
- RFC 8551, S/MIME 4.0 message specification
- RFC 4262, S/MIME capabilities certificate extension
- RFC 5280, Internet X.509 PKI profile
- RFC 8017, PKCS #1 version 2.2
- RFC 3394, AES Key Wrap
- RFC 4086, randomness requirements
- Lu Heng, Minimum Initial Specification, Localized Future Decision, and Voluntary Adoption
- Lu Heng, On Reality Layers, Symbolic Power, and Why Clarity Feels So Hostile
- Lu Heng, Running-Code Primacy
Member Briefing
Read the full trend briefing
Members read the full briefing with the source notes behind every finding.
Strategic Circle
A daily briefing in your language, built from changes we have verified.
Join for USD 20/monthCancel anytime.
Members also get the full research library, a daily briefing on the networks they follow and the private forum.






