Can .NET use post-quantum algorithms today, and how is it turned on?
If you run .NET 10 or later and want post-quantum key exchange or signatures, the MLKem, MLDsa and SlhDsa types are the entry points, and you turn them on by calling them in code and checking each type's IsSupported property before use. Per Microsoft's .NET 10 library notes, these types use static generate and import methods, and they work only where the operating system provides the algorithms: OpenSSL 3.5 or newer on Linux, or Windows CNG with PQC support on Windows. There is no documented setting that switches on post-quantum algorithms for existing SslStream, X509 or other classical code paths. Engineers who only use TLS and certificates through those APIs should not expect a configuration change to add post-quantum protection. Platform teams should confirm with Microsoft, in the .NET 10 documentation, whether any future setting is planned.
The availability differs by platform and by algorithm. Microsoft's cross-platform table, updated 2026-11-25, lists ML-KEM-512, 768 and 1024 and ML-DSA-44, 65 and 87 as supported on Linux with OpenSSL 3.5.0 or newer and on Windows 11 Insiders (Latest), and as unsupported on Apple, Android and Browser. SLH-DSA is listed as supported only on Linux with OpenSSL 3.5.0 or newer, with SlhDsaCng not supported. Microsoft's Windows PQC announcement of November 2025 says these algorithms are generally available in Windows Server 2025, Windows 11 24H2 and 25H2, and .NET 10. Check your specific OS build against the table before relying on any algorithm. The .NET 10 notes also mark MLDsa, SlhDsa and CompositeMLDsa as experimental under diagnostic SYSLIB5006, so pin your version and review the diagnostic in your build.
For a team that must answer for this, the first checks are: which .NET version and OS each workload runs on, whether IsSupported returns true on those machines, and whether the code calls the base MLDsa class instead of MLDsaCng or MLDsaOpenSsl, which the .NET team recommends for code meant to run on any platform. The November 18, 2025 .NET blog post says SslStream needs TLS 1.3 plus OS and peer support before it can use ML-DSA or SLH-DSA certificates, and that ML-KEM subject keys in a certificate cannot be used with TLS. Test any TLS-facing change end to end with your actual peers rather than assuming the library call is enough.
Which platforms and .NET versions support each post-quantum type
This table compares ML-KEM, ML-DSA, SLH-DSA and composite types across operating systems and .NET versions, with the source and date for each cell. Read each row as a type and each column as the platform or runtime where it runs, and treat the Windows Insiders and Experimental entries as preview status rather than general availability. The main takeaway is that support depends on OpenSSL 3.5.0 or newer on Linux, that SLH-DSA is Linux-only, and that Apple and mobile platforms do not expose these types through .NET today.
| Type | Linux with OpenSSL 3.5.0+ | Windows and Apple | .NET version and status |
|---|---|---|---|
| ML-KEM (FIPS 203) | Supported for ML-KEM-512, 768 and 1024 (cross-platform table, 2026-11-25) | Supported on Windows 11 Insiders (Latest) only; not supported on Apple (cross-platform table, 2026-11-25) | Available in .NET 10 through MLKem; MLKem is not marked Experimental (.NET 10 libraries notes) |
| ML-DSA (FIPS 204) | Supported for ML-DSA-44, 65 and 87 (cross-platform table, 2026-11-25) | Supported on Windows 11 Insiders (Latest); not supported on Apple (cross-platform table, 2026-11-25) | Available in .NET 10 through MLDsa, marked Experimental under SYSLIB5006 (.NET 10 libraries notes) |
| SLH-DSA (FIPS 205), all twelve parameter sets | Supported on Linux with OpenSSL 3.5.0+ (cross-platform table, 2026-11-25) | Not supported on Windows; SlhDsaCng is listed as not supported (cross-platform table, 2026-11-25) | Available in .NET 10 through SlhDsa, marked Experimental under SYSLIB5006 (.NET 10 libraries notes) |
| Composite ML-DSA (for example MLDSA44-ECDSA-P256-SHA256) | Supported on Linux with OpenSSL 3.5.0+ (cross-platform table, 2026-11-25) | Supported on Windows 11 Insiders (Latest) (cross-platform table, 2026-11-25) | CompositeMLDsa follows IETF draft 8 as of .NET 10 GA and is Experimental (.NET 10 libraries notes) |
| Composite ML-KEM | Not covered by the sources listed on this page for the platforms in this table | Not covered by the sources listed on this page for the platforms in this table | Experimental in .NET 11 under SYSLIB5006 (.NET 11 libraries notes, GA 2026-11-10) |
| Apple (macOS and iOS) | Not applicable | Post-quantum types not supported (cross-platform table, 2026-11-25); OpenSSL support removed from macOS in .NET 10 | Use the Apple platform only for classical algorithms; confirm with Microsoft before planning |
| Android and Browser | Not applicable | Post-quantum types not supported (cross-platform table, 2026-11-25) | Do not assume support for these targets |
| .NET Framework via Microsoft.Bcl.Cryptography | Works only where the OS provides OpenSSL 3.5 or newer or Windows CNG with PQC support | Works only where Windows CNG provides PQC support | Available through the NuGet package; confirm the OS prerequisites before use |
How to call the ML-KEM and ML-DSA APIs in .NET 10
The .NET 10 post-quantum types are called directly from code, not switched on in configuration. Before any call, check the static IsSupported property on the type, because the algorithms run only where the operating system supplies them: OpenSSL 3.5 or newer on Linux, or Windows with post-quantum support in CNG. For key encapsulation, the documented sample in the .NET team's post follows a sequence: generate a key with MLKem.GenerateKey(MLKemAlgorithm.MLKem768), export the encapsulation key, import it on the other side with ImportEncapsulationKey, then call Encapsulate to produce a ciphertext and shared secret, and Decapsulate to recover the secret on the key holder's side. The sketch below is illustrative only and is tied to that sequence; check the exact member names against the blog and the API reference for your SDK build.
if (MLKem.IsSupported) { using MLKem alice = MLKem.GenerateKey(MLKemAlgorithm.MLKem768); byte[] pub = alice.ExportEncapsulationKey(); using MLKem bob = MLKem.ImportEncapsulationKey(MLKemAlgorithm.MLKem768, pub); bob.Encapsulate(out byte[] ct, out byte[] secretBob); byte[] secretAlice = alice.Decapsulate(ct); }
Signatures follow the same pattern with the abstract base class. MLDsa exposes a static IsSupported property and GenerateKey(MLDsaAlgorithm), and the .NET team recommends that run-anywhere code use MLDsa rather than the platform-specific MLDsaCng or MLDsaOpenSsl types, so the same call site resolves to whichever backend the platform provides. Be aware that OpenSSL 3.5 supports HashML-DSA, which the blog calls less polished than pure ML-DSA, so confirm which variant your code and your verifiers expect. Note also the diagnostic status: the .NET 10 library notes mark MLDsa, SlhDsa and CompositeMLDsa as Experimental under diagnostic SYSLIB5006 until development is complete, while MLKem is not marked Experimental, although some of its methods are. Decide whether your build can accept an experimental diagnostic for signature code, and confirm the current status for your SDK version, since it may change in later releases.
Before relying on these calls in production, confirm two things with your own tests on each target OS image: that IsSupported returns true there, and that the signature and encapsulation round trip succeeds. Also confirm how a TLS stack would use these keys, because the .NET documentation pages checked here do not describe a setting that enables post-quantum algorithms in existing SslStream or X509 code paths. ML-KEM subject keys in a certificate cannot be used with TLS, according to the November 18, 2025 blog post, so treat direct API use and TLS configuration as separate work items.
Which parts of .NET the post-quantum types touch and what each means
.NET's post-quantum types sit on top of the operating system's crypto providers, so what works depends on the OS as much as on the .NET version. The cards below separate the layers an engineer must check: the OS provider, TLS, certificate and PKCS#12 handling, trusted roots and the .NET Framework path.
OS crypto provider underneath
The post-quantum types in .NET do not implement the algorithms themselves. On Linux they depend on OpenSSL 3.5 or newer, and on Windows they depend on CNG with post-quantum support. Use the IsSupported property on MLKem, MLDsa and SlhDsa to confirm the platform provides an algorithm before calling it. Note that a successful build does not mean the OS provides the algorithm, so test on each target OS.
Cross-platform cryptographySslStream TLS connections
Existing SslStream code uses classical TLS key exchange, and the sources on this page do not document any setting that enables ML-KEM hybrid groups for it. The .NET post says ML-DSA certificates should generally work with SslStream when TLS 1.3 and OS and peer support are present, but ML-KEM subject keys cannot be used in certificates for TLS. Confirm hybrid group support with the vendor and the OS documentation before planning changes here.
.NET post-quantum blogX509 and PKCS#12 import and export
Certificate and key import and export support varies by algorithm and platform. ML-DSA keys can be imported, exported and associated with PKCS#12 on both Windows and Linux. ML-KEM and SLH-DSA PKCS#12 support is available on Linux only. Check the platform before handling these key types in code that stores or moves certificates, because a key that loads on Linux may fail to round-trip on Windows.
Platform support tableTrusted roots on Linux
On Linux, .NET locates trusted roots through OpenSSL using the SSL_CERT_FILE and SSL_CERT_DIR environment variables, and the LocalMachine Root store is an interpretation of the OpenSSL CA bundle. Trust for post-quantum certificates therefore follows the OpenSSL bundle on that host, not a .NET setting. Confirm which bundle a service reads before issuing or trusting post-quantum certificates on Linux hosts.
Cross-platform cryptographyPost-quantum types on .NET Framework
On .NET Framework, post-quantum algorithms are available through the Microsoft.Bcl.Cryptography NuGet package rather than the built-in runtime types. They still depend on the OS providing the algorithm. TLS on .NET Framework is handled by Schannel on Windows, so the OS, not the application, decides the negotiated TLS version. Plan a separate test path for these applications rather than assuming .NET 10 behavior carries over.
TLS on .NET FrameworkHow the setup differs by OS, .NET version and TLS use
On Linux, .NET uses OpenSSL for its cryptographic operations, so post-quantum algorithms are available when the installed OpenSSL is version 3.5.0 or later. The cross-platform table lists ML-KEM-512, ML-KEM-768, ML-KEM-1024, ML-DSA-44, ML-DSA-65 and ML-DSA-87 as supported on this path, and it lists all twelve SLH-DSA parameter sets as supported only here. Check the OpenSSL version that the runtime actually loads, not only the one installed by a package manager.
- OpenSSL version check: Confirm the loaded OpenSSL is 3.5.0 or later before testing
MLKem.IsSupportedorMLDsa.IsSupported. - Algorithm coverage: ML-KEM and ML-DSA are supported, and SLH-DSA is supported on this path only.
- Trusted roots: .NET finds trusted roots through the
SSL_CERT_FILEandSSL_CERT_DIRenvironment variables, so set them when the default CA bundle is not used. - Composite algorithms: Several composite signature algorithms, such as MLDSA44-ECDSA-P256-SHA256, are listed as supported on Linux with OpenSSL 3.5.0+.
- Certificates and PKCS#12: The table lists PKCS#12 import, export and private key association for ML-DSA, ML-KEM and SLH-DSA on Linux.
Before relying on this path, check the OpenSSL version and the algorithm list with a test program on the same host image.
On Windows, the post-quantum types depend on the Windows CNG provider. The cross-platform table lists ML-KEM and ML-DSA as supported on Windows 11 Insiders (Latest), and it does not list SLH-DSA as supported there. Microsoft's November 2025 announcement says PQC algorithms became generally available in Windows Server 2025, Windows 11 24H2 and 25H2, and .NET 10, with Windows delivery through update KB5068861 (OS build 26100.7171). Check the exact Windows build and the table's status for your environment before you rely on a given algorithm.
- Insiders status: The table marks ML-KEM and ML-DSA as supported on Windows 11 Insiders (Latest), which is a preview channel, not a generally available release.
- SLH-DSA: The table lists SLH-DSA as not supported on Windows, and it lists
SlhDsaCngas not supported. - Hybrid TLS is off by default: Microsoft's FAQ says hybrid TLS is disabled by default and can be enabled with
Enable-TlsEccCurve -Name "X25519_MLKEM768" -Position 0in an elevated PowerShell session. - Schannel and SslStream: The FAQ does not say whether .NET
SslStreamuses Schannel for these groups, so confirm that with a test before assuming it does. - Group policy: The FAQ states the command works without Group Policy, but a managed fleet may set supported groups through policy, so check the local setting on each machine.
Confirm the Windows build, the Insiders status and the TLS group state on the exact image you deploy.
The cross-platform table, as updated on 2026-11-25, lists ML-KEM and ML-DSA as unsupported on Apple, Android and Browser. Code that calls the PQC types on these platforms will find IsSupported return false, and the runtime will not provide the algorithms. Treat this as a platform limit for the .NET APIs, and check the table for later updates before planning any change for these platforms.
- Apple: The table lists ML-KEM and ML-DSA as unsupported on Apple platforms.
- Android: The table lists ML-KEM and ML-DSA as unsupported on Android.
- Browser: The table lists the same algorithms as unsupported in browser builds.
- OpenSSL on macOS: Starting in .NET 10, OpenSSL support on macOS was removed, so
RSAOpenSsl,ECDsaOpenSsl,ECDiffieHellmanOpenSslandDSAOpenSslno longer work there. - Client TLS on macOS: In .NET 10, client-side TLS 1.3 on macOS is opt-in through the
System.Net.Security.UseNetworkFrameworkswitch, and cipher suites are then controlled by macOS.
If an application must run on these platforms, plan a classical fallback and check the table again before each release.
The release you run determines which PQC types exist and which of them are stable. The .NET 10 library notes add the MLKem, MLDsa and SlhDsa types, with static generate and import methods and an IsSupported property. In .NET 10, MLKem is not marked Experimental although some of its methods are, while MLDsa, SlhDsa and CompositeMLDsa are marked Experimental under diagnostic SYSLIB5006. Microsoft's support policy lists .NET 8 and .NET 9 as out of support since November 10, 2026, so both releases need an upgrade plan before they can be used for new PQC work.
- .NET 10: It is the current LTS release, released November 11, 2025, with end of support on November 14, 2028.
- .NET 11 additions: The library notes add the classical
X25519DiffieHellmanclass, experimentalCompositeMLKem(SYSLIB5006), experimentalHpke(SYSLIB5009), andEnvelopedCmssupport for pure ML-KEM recipients. - EnvelopedCms scope: The
EnvelopedCmssupport for pure ML-KEM recipients is available only on non-Windows platforms. - Experimental markers: Treat any type marked with SYSLIB5006 or SYSLIB5009 as subject to change, and pin the build settings that suppress or enable those diagnostics.
- Out of support releases: .NET 8 and .NET 9 are out of support as of November 10, 2026, according to the support policy.
Check the runtime version in each deployed environment against the support policy before you plan algorithm use.
The PQC types are APIs that code calls directly. The .NET documentation checked here does not describe a setting that turns on post-quantum algorithms for existing SslStream, X509 or other classical code paths. The November 18, 2025 blog post says SslStream needs TLS 1.3 plus OS and peer support to work with ML-DSA or SLH-DSA certificates, that ML-DSA certificates should generally work, and that ML-KEM subject keys cannot be used with TLS. The TLS/SSL best practices page, last updated 2026-11-25, does not mention post-quantum or hybrid key exchange.
- No direct switch: The documentation checked here shows no configuration key that enables post-quantum key exchange for
SslStream. - Protocol selection: Leave
EnabledSslProtocolsatNoneso the operating system chooses the TLS version. - Cipher suites:
CipherSuitesPolicyis not supported on Windows, where instantiating it throwsNotSupportedException. - Certificates: A TLS server needs an
X509Certificate2with a private key, and ML-KEM subject keys cannot be used in TLS. - Windows group settings: Schannel groups such as
x25519_mlkem768are listed as supported for TLS 1.3 but disabled by default, and the FAQ does not confirmSslStreamuses them.
Test each TLS path separately, and confirm the negotiated group in a live handshake rather than assuming it from the settings.
Decision path from runtime check to a working post-quantum call
The path starts by confirming that the runtime is .NET 10 or later and that the operating system provides post-quantum algorithms, which means OpenSSL 3.5.0 or newer on Linux or Windows CNG with PQC support on Windows. Next, call IsSupported on the relevant type (MLKem or MLDsa) before using it. If the check passes, the code can call MLKem or MLDsa directly, with MLDsa used through its base class for portable code. If it fails, the code falls back to classical APIs, and TLS through SslStream has no post-quantum option to turn on in these sources, so that gap should be recorded.
The runtime checks that decide between a post-quantum call and the classical fallback.
Steps to test post-quantum support in your .NET estate
This sequence checks, in order, which .NET releases you run, whether the operating system provides post-quantum algorithms, whether the ML-KEM and ML-DSA types work on your platform, whether certificates survive a PKCS#12 round trip, and whether existing TLS code is unchanged. Each step ends with a check you can record as evidence. The sequence does not turn on post-quantum algorithms for SslStream or existing X509 code, so it tests readiness for code you write, not a switch in your current estate.
Inventory .NET versions against the support policy
Operators list every .NET runtime and SDK in use across build agents, servers and containers, and record each version against Microsoft's .NET support policy. As of 2026-12-03 the policy lists .NET 10 as LTS with end of support on November 14, 2028, .NET 11 as STS with end of support on November 14, 2028, and .NET 8 and .NET 9 as out of support since November 10, 2026. Post-quantum types ship in .NET 10 and later, so any estate running only older releases cannot use them yet. The check closes when every runtime is mapped to a supported or unsupported status in a dated inventory.
Confirm the operating system provider version
.NET performs cryptography through the operating system, so the platform decides whether post-quantum algorithms exist. On Linux, confirm OpenSSL 3.5.0 or newer is installed and loaded by the runtime. On Windows, confirm the build that carries PQC support, such as Windows Server 2025 or Windows 11 24H2 or 25H2 with update KB5068861 (OS build 26100.7171) per Microsoft's November 2025 announcement, and check the Windows 11 Insiders listing for any build you rely on. The check closes when the OS version and provider are written into the inventory for each host class.
Run a console test on IsSupported and ML-KEM
Engineers write a small console application that tests MLKem.IsSupported before calling the type, then generates a key with MLKem.GenerateKey using MLKemAlgorithm.MLKem768, imports the encapsulation key, encapsulates, and decapsulates to confirm the shared secret matches. Run it on each platform class from the previous step. Microsoft's cross-platform table lists ML-KEM-512, 768 and 1024 as supported on Linux with OpenSSL 3.5.0+ and on Windows 11 Insiders, and as unsupported on Apple, Android and Browser. The check closes when the round trip succeeds on each supported platform and the unsupported result is recorded for the rest.
Verify the PKCS#12 round trip for your certificate type
Where certificates are involved, export a test certificate with its private key to PKCS#12 and import it again on the same host and on the target platform. The cross-platform table lists PKCS#12 import, export and private key association for ML-DSA on Windows and Linux, and for ML-KEM and SLH-DSA on Linux only, so a certificate type that works on one platform may fail on another. In .NET 10 the ExportPkcs12 methods let you choose Pbes2Aes256Sha256 instead of the widely compatible Pkcs12TripleDesSha1, so record which export algorithm your consumers accept. The check closes when the imported certificate retains its private key on every platform you deploy to.
Confirm no existing SslStream path changes algorithm
Microsoft's documentation describes post-quantum types as APIs a developer calls in code, and the TLS best-practices page, last updated 2026-11-25, does not mention post-quantum or hybrid key exchange. Run your existing TLS client and server code against a test endpoint, capture the negotiated key exchange group and signature algorithm, and compare them to the baseline captured before the test. If Windows is in use, note that Microsoft's Windows documentation lists hybrid groups such as x25519_mlkem768 as supported but disabled by default, and that the FAQ does not say whether SslStream uses Schannel. The check closes when the captured handshake matches the baseline and the result is recorded with the OS and .NET versions.
What Microsoft has not published for .NET and what to ask
Microsoft's .NET documentation describes post-quantum algorithms as APIs a developer calls in code, and it leaves several settings and statements unpublished. The cards below list each gap as it stands in the sources checked, with the question to put to Microsoft before relying on that behavior in a configuration plan.
No hybrid key exchange setting for SslStream
The TLS best-practices page for .NET, last updated 2026-11-25, does not mention post-quantum or hybrid key exchange, and the November 18, 2025 .NET blog post does not mention X25519MLKEM768 either. The documented SslStream controls are EnabledSslProtocols and CipherSuitesPolicy, and the page recommends leaving the OS to decide. The Windows Schannel group settings list x25519_mlkem768 as supported but disabled by default, and the sources do not say whether SslStream uses Schannel for that group. Ask Microsoft whether SslStream negotiates X25519MLKEM768 on Windows and Linux, and which setting turns it on.
TLS best practicesNo CNSA 2.0 statement for .NET
The .NET documentation pages checked here publish no CNSA 2.0 statement for .NET. Microsoft's company-level roadmap of August 20, 2025 says the company aims to strive to meet the CNSA 2.0 deadlines in CNSSP-15, but that post is not specific to .NET. Teams that must meet CNSA 2.0 through a federal contract should not infer .NET compliance from it. Ask Microsoft for a written statement of which .NET APIs, algorithms and parameter sets it considers CNSA 2.0 aligned, and by which release.
Microsoft roadmap postNo FIPS 140-3 validation for .NET itself
Microsoft's .NET FIPS page, last updated 2025-05-21 and written around FIPS 140-2, says .NET passes cryptographic calls to the OS modules, does not enforce FIPS-approved algorithms or key sizes, and leaves FIPS configuration to the administrator and algorithm choice to the developer. No FIPS 140-3 validation statement for .NET appears in the sources checked. Ask Microsoft which validated module and certificate number covers the post-quantum code path on each OS, and whether that module is validated for ML-KEM and ML-DSA.
FIPS compliance pageSLH-DSA not available on Windows
The cross-platform table lists all twelve SLH-DSA parameter sets as supported only on Linux with OpenSSL 3.5.0 or later, and it does not list them as supported on Windows. SlhDsaCng is listed as not supported. Any plan that expects SLH-DSA signatures on Windows hosts, including PKCS#12 handling, depends on a change that the sources do not describe. Ask Microsoft whether and when SLH-DSA will be available on Windows, and what the fallback is for Windows-hosted signing.
Cross-platform tableMLDsa and SlhDsa still Experimental
In .NET 10, MLDsa, SlhDsa and CompositeMLDsa are marked Experimental under diagnostic SYSLIB5006 until development is complete, while the MLKem type is not marked Experimental. .NET 11 keeps CompositeMLKem under the same diagnostic. Code that calls these types must suppress the diagnostic, and the API surface may change before it is stable. Ask Microsoft for the release in which SYSLIB5006 will be removed from MLDsa and SlhDsa, and whether any signature API will be treated as stable for production use before that.
What's new in .NET 10COSE with SLH-DSA is not a promise
The .NET team's November 18, 2025 post says COSE with SLH-DSA will probably turn up in .NET 11, and it states that this is not a promise. The .NET 11 library notes last updated 2026-11-10 do not list COSE support for SLH-DSA in the sources checked. Teams that plan to sign COSE objects with SLH-DSA should not treat the feature as scheduled. Ask Microsoft whether COSE with SLH-DSA shipped in .NET 11, and if not, which release is targeted and whether it will be listed in the release notes.
Post-quantum .NET blogWhat can break when you enable post-quantum types
Enabling post-quantum types in .NET breaks code most often where it assumes they always exist. Calls to MLKem.GenerateKey or MLDsa.GenerateKey will fail on platforms where the cross-platform table lists the algorithms as unsupported, which includes Apple and Android as of the table's 2026-11-25 update. Guard every use with the IsSupported property, and test that the fallback path runs on macOS and on Android-targeted builds, not only on the Linux machine where the code was first written. The same applies to SLH-DSA, which the table lists as supported only on Linux with OpenSSL 3.5.0 or newer, and to SlhDsaCng, which is not supported at all.
Build settings are the second risk. In .NET 10, MLDsa, SlhDsa and CompositeMLDsa are marked Experimental under diagnostic SYSLIB5006, so a project that sets TreatWarningsAsErrors will stop building as soon as these types are referenced. MLKem is not marked Experimental, though some of its methods are, so a build may fail on one call and not another. Decide on suppressions deliberately and record them. Keep in mind too that .NET 10 is an LTS release with support through November 14, 2028, while .NET 11 is an STS release, so a team on .NET 10 may face different diagnostic behavior after an upgrade.
Operating system and runtime versions decide whether the code runs at all. Windows delivers PQC support through update KB5068861 (OS build 26100.7171), so confirm the build on each Windows host with winver or systeminfo before you assume the algorithms are present. Peers matter too: SslStream needs TLS 1.3 plus OS and peer support before it can use ML-DSA or SLH-DSA certificates, so a partner that only offers TLS 1.2 will fail the handshake. Starting in .NET 10, OpenSSL support on macOS was removed, so RSAOpenSsl, ECDsaOpenSsl, ECDiffieHellmanOpenSsl and DSAOpenSsl no longer work there, and code that used them on a Mac must move to the platform classes. Classical code paths keep classical algorithms unless you change them, so existing RSA, ECDsa and SslStream calls are unaffected by enabling the new types. Confirm that with a test run before you rely on it.
Questions engineers and vendor-risk reviewers ask about .NET post-quantum setup
Is .NET quantum safe?
No product or runtime can be called quantum safe as a blanket statement, and .NET is no exception. What .NET supports is a set of post-quantum algorithms exposed as APIs: ML-KEM (FIPS 203), ML-DSA (FIPS 204) and SLH-DSA (FIPS 205) through the MLKem, MLDsa and SlhDsa types, available starting in .NET 10. These algorithms work only where the operating system provides them, meaning OpenSSL 3.5 or newer on Linux or Windows CNG with PQC support. The .NET documentation checked here does not describe a setting that moves existing SslStream, X509 or other classical code paths to post-quantum algorithms, and it publishes no CNSA 2.0 or FIPS 140-3 statement for .NET itself. Confirm the current status with Microsoft before writing any compliance claim.
Which .NET version is required for post-quantum algorithms?
The post-quantum types ship in .NET 10, which is the current LTS release and is supported until November 14, 2028. .NET 11 is the STS release, released November 10, 2026, with support ending on the same date. .NET 8 and .NET 9 have been out of support since November 10, 2026, so they should not be used as the base for this work. On .NET Framework, post-quantum algorithms are available through the Microsoft.Bcl.Cryptography NuGet package, but they still depend on the OS providing the algorithms. Check the .NET support policy for the current dates before planning, and confirm the OS build you run supports the algorithms you need.
Does enabling post-quantum algorithms in .NET cost extra?
The sources checked do not give a price for .NET post-quantum support, and .NET itself is published by Microsoft under its own licensing. The cost you will actually pay is mostly labor and infrastructure: upgrading to .NET 10 or later, confirming the OS or OpenSSL version on every host, testing code paths, and updating certificates where needed. Costs that recur are patching, keeping the OS and OpenSSL current, and retesting after each .NET or OS release. Ask your Microsoft account team or your OS vendor whether any licensing or support tier affects post-quantum features, and ask any implementation partner for a fixed-scope quote that lists each item above separately.
Does enabling post-quantum algorithms change existing TLS connections?
The documentation checked here does not show a switch that changes existing TLS connections to post-quantum key exchange. SslStream's TLS settings are left to the operating system by default: EnabledSslProtocols defaults to None, and cipher suites are chosen by the OS. On Windows, hybrid TLS groups such as X25519_MLKEM768 are supported in Schannel but disabled by default, and Microsoft's FAQ says it can be turned on with a PowerShell command, while stating that it does not say whether .NET SslStream uses Schannel. Test any change in a staging environment, and confirm with Microsoft how SslStream uses these groups on each OS before relying on them. Also note that ML-KEM keys in certificates cannot be used with TLS.
What should we ask Microsoft about .NET post-quantum plans?
Ask for written answers to a short list of questions. First, which .NET and OS versions support each algorithm, and whether SslStream will use post-quantum or hybrid key exchange, with a version and date. Second, whether SLH-DSA and COSE support will arrive in a named .NET release, since the November 18, 2025 .NET blog post says it will probably appear in .NET 11 but makes no promise. Third, whether any .NET component carries a CNSA 2.0 or FIPS 140-3 statement, and under which module and version. Fourth, what the support window is for post-quantum APIs on .NET Framework. Ask for the answers in writing and keep them with your inventory evidence, since the company-level roadmap is not specific to .NET.
Can our team set up .NET post-quantum algorithms alone, or should we get outside help?
Your team can do the code work alone if it has the skills and time. The steps are: check IsSupported at runtime, use the base MLKem, MLDsa or SlhDsa classes rather than OS-specific types for code that must run anywhere, and test on each OS you run. Outside help is most useful for planning the inventory, deciding which paths need changes, building a test matrix across Windows and Linux hosts, and producing evidence that auditors can check. DeployOpen works on fixed-scope engagements, typically starting with a written scope and deliverables, and can help with planning, testing and evidence. It does not issue audit reports or certifications; independent auditors do that. Ask any provider to show its test plan and the evidence it will produce.
How DeployOpen works on this
DeployOpen plans and tests the .NET settings that turn on post-quantum algorithms in your own environment, starting with which runtime, edition and operating system you run. Each engagement is scoped in writing before work starts, and the output is a tested configuration your team can review and run.
How we scope
- We confirm which .NET release, operating system and OpenSSL or Windows build you run, since PQC APIs depend on them.
- We record which algorithms you need (ML-KEM, ML-DSA or SLH-DSA) and where each would be used in your code.
- The written scope lists the systems, deliverables and timeline agreed before any change is made.
How we build
- We check IsSupported at runtime on each target platform before calling MLKem, MLDsa or SlhDsa types.
- We test certificate flows, since SslStream needs TLS 1.3 plus OS and peer support for ML-DSA certificates.
- We verify each platform in a test environment, noting that ML-KEM keys cannot be used as TLS certificate subject keys.
How we hand over
- You receive the tested configuration, the platform support results and the code changes, documented for your team.
- We record which settings are experimental, such as the diagnostics on MLDsa and SlhDsa, so reviewers can track them.
- The handover notes state what was tested, on which versions, and what your team should confirm before production use.
How we support
- Engagements are fixed-scope, and ongoing support, upgrades and continuous testing are available as a retainer.
- We can retest after .NET releases or OpenSSL and Windows updates change which algorithms the platform supports.
- Support scope and any retainer terms are agreed in writing, with no price stated on this page.

